Visual studio 2010 - VPN 网络更改时崩溃...有什么想法吗?
很多时候,当我通过断开远程网络来更改 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我在 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