未处理的异常 - System.AccessViolationException未处理 [英] Unhandled Exception - System.AccessViolationException was Unhandled

查看:164
本文介绍了未处理的异常 - System.AccessViolationException未处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

长时间的读者/浏览器,但第一次发布海报。

Long time reader/browser but first time poster.

昨天我开始遇到运行VS2013的一些非常奇怪的行为。

Yesterday I started experiencing some very weird behaviour running VS2013.

此安装到目前为止一直非常可靠,从未出现任何问题。当我尝试启动任何用VB或C#编写的应用程序时除了框架设置为3.5或更低版本之外,我还会在VS IDE中看到一个未处理的
异常错误消息,其中包含以下详细信息:

This install until now has been very solid and never given any problems. When I try to start any application written in VB or C#  as well from within the VS IDE unless the Framework is set to 3.5 or below I get presented with an unhandled exception error message with the following details:

System.AccessViolationException为未处理

消息:Microsoft.VisualStudio.HostingProcess.Utilities.dll中发生未处理的"System.AccessViolationException"类型异常

附加信息:尝试读取或写入受保护的内存。这通常表明其他内存已损坏。

System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

现在IDE中的任何应用程序都会发生这种情况 - 我已经构建了好几个月但从未遇到过问题的应用程序。我甚至去了创建一个简单的Windows窗体VB应用程序的基础知识,甚至不会运行。

This now happens with any app within the IDE - apps that I have built for months and never had a problem. I even went to the basics of creating a simple Windows Form VB app and not even that will run.

我仍然可以成功构建和编译应用程序并在IDE之外运行它们。

I can still successfully build and compile the applications and run them outside of the IDE.

我已尝试过所有操作,包括重新启动计算机,完全关闭计算机电源,修复安装,重置VS 中的所有设置并运行.NET修复工具也是如此。

I have tried everything from restarting the computer, completely powering off the computer, done a repair of the install, done a reset of all settings in VS and ran the .NET repair tool as well.

虽然我在机器上创建了一个新的用户帐户并在该用户下登录,但它变得奇怪。从该用户,我可以正常运行IDE中的应用程序。

Where it gets weird though is that I created a new user account on the machine and logged in under that user. From that user I can run the applications from the IDE as normal.

希望我的配置文件中有某种缓存/临时文件,我还没有发现我可以清除/重建并恢复正常开发。

Hoping that there is some sort of cache/temporary files within my profile that I haven't yet found that I can clear/rebuild and get back to developing as normal.

谢谢你

推荐答案

嗨mrsp25,

Hi mrsp25,

感谢您在此发帖。

根据您的问题与VS更相关,我会将其移至  Visual
Studio General Questions
  论坛为了得到合适的支持。

According to your question is more related to VS, I will move it to Visual Studio General Questions forum for suitable support.

此论坛讨论并提出有关.NET Framework基类(BCL)的问题,例如集合,I / O,Regigistry,Globalization,Reflection。还讨论了构建或扩展.NET Framework的所有其他Microsoft
库,包括Managed Extensibility Framework(MEF),Charting Controls,CardSpace,Windows Identity Foundation(WIF),Point of Sale(POS),Transactions 。 

最好的问候,

Best Regards,

Wendy


这篇关于未处理的异常 - System.AccessViolationException未处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆