VS2005 start debuging出现错误code 0x80004002

来源:互联网 发布:深圳众诚网络 编辑:程序博客网 时间:2024/06/10 21:00

VS2005 start debuging出现错误code 0x80004002

分类: C# Windows 342人阅读 评论(0) 收藏 举报

问题描述:

创建新的C# dialog工程,编译,一切正常,debug运行出现如下的提示错误。

An error occurred that usually indicates a corrupt installation (code 0x80004002).
If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.

解决方法:

打开cmd,切换到C:\Program Files\Common Files\Microsoft Shared\VS7Debug,注册三个dll文件,如下。

regsvr32 msdbg2.dll

regsvr32 csm.dll

regsvr32 pdm.dll


0 0