【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'
他的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); //恩,找啊找啊找到了next2)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...
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」