我运行的是VS-2013旗舰版。在执行我的代码时,我得到了这个错误消息框:
An exception has been encountered. This may be caused by an extension
当进入日志文件时(消息中提到了路径),我得到了这个异常:
<entry>
<record>905</record>
<time>2014/08/22 15:46:25.494</time>
<type>Error</type>
<source>Edit
我有一个查询:
SELECT 'Item' AS TypeID,
iORCompID AS iEntityID,
iORCompID AS iParentEntityID,
'' as Source,
vComments as Comment
FROM
OrderResultComponents
WHERE IOrderID = @IEntityID
我得到的数据如下
TypeID | iEntityID | iParentEntityID | Source | Comment
Ite
我开启了VisualStudio 2017 (最新-刚刚更新)。我导航到一个类型的脚本文件(这可能只是因为它是这种类型的文件),并得到以下提示:
---------------------------
Microsoft Visual Studio
---------------------------
An exception has been encountered. This may be caused by an extension.
You can get more information by examining the file
'C:\...\AppData\Ro
我做了一个Windows升级到新的周年更新,没有丢失我的文件(我只选择摆脱我的应用程序和设置)。一切都进行得很好,我把我的文件完整地带回了Windows。
我决定重新安装我的应用程序,然后是安装Visual 2015的时候了,因为我仍然拥有它的ISO。我安装了映像并开始安装,选择安装所有东西(而不是自定义),它运行顺利,是时候启动visual了,我点击了启动按钮,visual启动了,但是在显示实际界面时崩溃了。
我很吃惊,我一次又一次地重新启动了visual,但是它一直与经典的Windows对话框崩溃。
Visual Studio 2015 has stopped working
没有描述错误
我清楚地安装了VisualStudio2017和ReSharper,但决定将Visual和ReSharper分别升级到15.6.2和2017.3.3。不幸的是,现在我一直在Visual上崩溃,弹出的标题是:visual studio an exception has been encountered. this may be caused by an extension。
因此,我禁用了ReSharper,但它继续运行,错误日志看起来如下:
<entry>
<record>1912</record>
<time>2018/03/19 17
所以基本上,当我使用nunit3 & specflow打开我的解决方案时,selenium UI在VS2017(15.3.2)中测试。我在测试资源管理器窗口中得到以下异常和错误:
有没有办法解决这个问题?有一个工作,但它是荒谬的。如果我在没有任何项目的情况下启动VS 2017,然后从最近打开项目-它工作正常。
An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\USER\AppDa
我的VS2013安装从未发生过任何崩溃,但本周它开始在启动时显示此错误:
An exception has been encountered. This may be caused by an extension. You can get more information by bexamining the file (...)\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml
然后,它正确地打开,我可以正常工作。但是,当我尝试提交本地更改并打开并单击CHanges时,Visual会崩溃。
我查看了ActivityLog.x
当我在2015中单击team中的合并按钮时,会得到一个异常。
An exception has been encountered. This may be caused by an extension.
You can get more information by examining the file C:\Users\XXXX\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
ActivityLog.xml的内容如下:
<record>775</record>
<time>
在VS 2013中打开我的ASP.NET网页解决方案(我是从WebMatrix开始的)时,我现在得到了这个错误消息:
遇到了一个异常。这可能是由扩展引起的。您可以通过检查文件'...\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml‘获得更多信息。
我搜索了“异常”这个词,发现了这个词:
<description>
System.ComponentModel.Composition.CompositionException: The composition produced a single
c
当我将调试器附加到网页上时,只要命中第一个断点,我就会得到一个错误对话框,说“遇到了异常。这可能是由扩展引起的。”
在ActivityLog.xml中,我发现:
type: Error
source: Editor or Editor Extension
description:
System.ArgumentNullException: Value cannot be null.
Parameter name: sp

at Microsoft.VisualStudio.Shell.ServiceP