【VC疑难】Visual Studio has encountered an exception.This may be caused by an extension.

真是气死,今天想新建一个.c练练手,昨天刚安装上,新建好刚输入“#”,就弹出

Visual Studio has encountered an exception.This may be caused by an extension.

You can get more information by running the application together with the /log parameter on command line ,and then examining the file 'C:\Document and Settings\Administrator\Application Data\Microsoft\Visual Studio\10.0\ActivityLog.xml'

惯用手法复制粘贴,找到了这个https://social.msdn.microsoft.com/Forums/vstudio/en-US/9b5455c6-a9c6-4c18-90ca-51311411346c/visual-studio-has-encountered-an-exception-this-may-be-caused-by-an-extension?forum=netfxsetup

他的question是

when i was try to crate a new website and create a new table at that time this type of error occurred means one dailog box is automatically opened "visual studio has encountered an exception .this may be caused by an extension.

you can get more information by running the application together with the /log parameter on the command line,and then examining the file 'c:\user\dhruv\appdata\roaming\microsoft\visual studio\10.0\acitvitylog.xml'   ."

so please help me , please reply me urgently....

仔细一看,he try to的是website,我明明是aplication,但是还是按照解决方案做了下

It seems this error was due to extension. What's your Visual Studio version?  

Could you please disable or remove all of your extensions? //昨天安装了msdn for vs2008,一想会不会是这个原因呢,果断卸载,没用,go on

After that, please follow some common steps to reinstall templates:

1) Please open Windows Explorer, and navigate to  <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 10.0\Common7\IDE); //恩,找啊找啊找到了next
2) Delete the ItemTemplatesCache, ProjectTemplatesCache folder; (If you are using VWDExpress, please delete folder under \Common7\IDE\VWDExpress )//路径是找到,but there is not cache!奔溃。。。还是继续看完
3) Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator); //试了下,我大管理员运行,还是没用,不行看不下去了
4) Run the devenv /InstallVSTemplates switch; (VWDExpress if you are using it)
5) Run the devenv /Setup switch


继续找啊找啊找朋友,诶,还是咱csdn好啊,这个兄台有个转载http://blog.csdn.net/tong_xin2010/article/details/20484951

解决方案打上这个补丁VS10-KB2251084-x86.exe(带上链接,官网挺慢的,还是csdn)诶,好了,泪奔ing...

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值