Visual studio 2010 - VPN 网络更改时崩溃...有什么想法吗?

发布于 2024-11-08 06:27:15 字数 970 浏览 4 评论 0原文

很多时候,当我通过断开远程网络来更改 VPN 状态时,我的 VS 实例会立即崩溃。

这是我在事件日志中可以找到的最接近的内容。有人对此有什么想法吗?

异常:System.Net.NetworkInformation.NetworkInformationException

消息:对内存位置的访问无效

StackTrace:位于System.Net.NetworkInformation.SystemNetworkInterface.GetAdaptersAddresses(AddressFamily family,FixedInfo)固定信息) 在 System.Net.NetworkInformation.SystemNetworkInterface.PostWin2KGetNetworkInterfaces(AddressFamily 系列) 在 System.Net.NetworkInformation.SystemNetworkInterface.GetNetworkInterfaces(AddressFamily 系列) 在 System.Net.NetworkInformation.SystemNetworkInterface.InternalGetIsNetworkAvailable() 在 System.Net.NetworkInformation.NetworkChange.AvailabilityChangeListener.ChangedAddress(对象发送者,EventArgs eventArgs) 在 System.Net.NetworkInformation.NetworkChange.AddressChangeListener.AddressChangedCallback(对象 stateObject,布尔信号) 在System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(对象状态,布尔超时)

Many times when I change VPN status by disconnecting a remote network my VS instance immediately crashes.

This is the closest thing I can find in the event log. Anyone have any ideas about this?

Exception: System.Net.NetworkInformation.NetworkInformationException

Message: Invalid access to memory location

StackTrace: at System.Net.NetworkInformation.SystemNetworkInterface.GetAdaptersAddresses(AddressFamily family, FixedInfo fixedInfo)
at System.Net.NetworkInformation.SystemNetworkInterface.PostWin2KGetNetworkInterfaces(AddressFamily family)
at System.Net.NetworkInformation.SystemNetworkInterface.GetNetworkInterfaces(AddressFamily family)
at System.Net.NetworkInformation.SystemNetworkInterface.InternalGetIsNetworkAvailable()
at System.Net.NetworkInformation.NetworkChange.AvailabilityChangeListener.ChangedAddress(Object sender, EventArgs eventArgs)
at System.Net.NetworkInformation.NetworkChange.AddressChangeListener.AddressChangedCallback(Object stateObject, Boolean signaled)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

晨光如昨 2024-11-15 06:27:15

当我在 Windows 7 上运行 32 位应用程序(该应用程序是在启用 /LARGEADDRESSAWARE 的情况下构建的)时,我时常遇到此异常。在尝试查找问题时,我遇到了一个似乎可以解决该问题的修补程序。

尝试以下修补程序,看看是否可以解决该问题: http://support.microsoft.com/kb/ 2588507

I got this exception when running my 32 bit application (which was built with /LARGEADDRESSAWARE enabled) on Windows 7 from time to time. While trying to find the problem I came across a hotfix that appears to fix the issue.

Try the following hotfix and see if that fixes it for you: http://support.microsoft.com/kb/2588507

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文