询问者
请帮我看一下这个程序意外终止的原因是什么?

问题
-
大家好,我有一个WinForms程序,在运行过程中经常停止工作,停止工作后就无法再打开这个程序了,除非把服务器重启一下。
错误信息是这样的:
问题事件名称:CLR20r3
问题签名 01:Q4RJ0QQAJXBHEZ05T01LZNTG0DB1ZYSJ
问题签名 02:2.1.0.0
问题签名 03:51a56b8b
问题签名 04:System.Management
问题签名 05:4.0.0.0
问题签名 06:4ba1e140
问题签名 07:da
....
我的程序引用了System.Management命名空间,用到了ManagementClass来获取CPU编号(ProcessorId),会在程序启动的时候执行一次,不知道是否跟这个有关系,我该怎么去查意外终止的原因呢?
多谢~
全部回复
-
具体代码,以及调试出错的位置?
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats
Found any spamming-senders? Please report at: Spam Report -
这个帖子描述你类似的问题,具体可以看看这个帖子提供的解决方案,http://stackoverflow.com/questions/5701767/windows-application-has-stopped-working-problem-event-name-clr20r3
从帖子的答案中是建议你安装.NET 4.0试试,并把程序的目标改为.NEt 4.0
If my post is helpful,please help to vote as helpful, if my post solve your question, please help to make it as answer. my sample
- 已建议为答案 Learning hard 2013年6月12日 11:14
-
这个帖子描述你类似的问题,具体可以看看这个帖子提供的解决方案,http://stackoverflow.com/questions/5701767/windows-application-has-stopped-working-problem-event-name-clr20r3
从帖子的答案中是建议你安装.NET 4.0试试,并把程序的目标改为.NEt 4.0
If my post is helpful,please help to vote as helpful, if my post solve your question, please help to make it as answer. my sample