查看: 1186|回复: 7
|
救命!System.ComponentModel.Win32Exception
[复制链接]
|
|
有没有人遇过这样的问题:
在install 一个.net application 后,我要run它,可是给我这样的error "System.ComponentModel.Win32Exception , no debuggers are registered that can debu this exception. Unable to JIT debug."
Before i format my pc , it still can work fine.我弄了很久,可是还是不成功。有没有人可以救我??
请问把visual studio 和ms sql install 在local account 会影响domain account running sentance application 吗?? 两个account 我都set成administrator rigth. |
|
|
|
|
|
|
|
发表于 6-11-2007 12:09 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 6-11-2007 09:22 PM
|
显示全部楼层
对,你可能没有.net CLR installed
查看你的.net framework installed了,还有,最好.net framework 1.0.x, 1.1.x, 2.0.x (我assume你不是在用3.0 和3.5 )已经installed |
|
|
|
|
|
|
|
发表于 7-11-2007 12:38 AM
|
显示全部楼层
据我猜测,不像是没有.net framework....
因为已经进入.net exception了。
JIT debugger是visual studio的debugger。。。
可以尝试用try...catch找出error |
|
|
|
|
|
|
|
发表于 7-11-2007 09:20 AM
|
显示全部楼层
.net framework 一定是有了,不过不能启动 debugger 吧。
可能 application 是 release 版,没有足够的除错讯息。
可能 debugger 没有注册在注册表内。 |
|
|
|
|
|
|
|
发表于 7-11-2007 11:20 AM
|
显示全部楼层
我的意思是,如果他的application 是 .net 2.0, 那.net 1.1 的JIT 应该是不能debug 的.也是会出那个exception 是吗?
刚刚想到另外一个可能性, 或许你跑的account 没有administrator privilege |
|
|
|
|
|
|
|

楼主 |
发表于 7-11-2007 04:03 PM
|
显示全部楼层
回复 #6 阿牙木 的帖子
对,我之前也以为是administrator privilege的问题,那我就把domain account set 成administrator liao lor.., 不过还是不行。
最后,我FORMAT 了我的PC, install again vs 2005 and vs2003 在domain account 里(之前我把他们install 在local admin account li ,后来出现问题再reinstall 进domain account 已经来不及了), 现在我的application run 没有问题了。。,
不知道要怎么解释,希望你们不要重犯这个错误!! |
|
|
|
|
|
|
|
发表于 7-11-2007 10:58 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|