很多时候,当我通过断开远程网络来更改VPN状态时,我的VS实例会立即崩溃。
这是我在事件日志中找到的最接近的东西。有人对此有任何想法吗?
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)
答案 0 :(得分:1)
我在Windows 7上不时运行32位应用程序(使用/ LARGEADDRESSAWARE构建)时遇到此异常。在尝试找到问题时,我遇到了一个似乎可以解决问题的修补程序。
尝试使用以下修补程序,看看是否为您修复了该问题:http://support.microsoft.com/kb/2588507