Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio 2010 - crashing on VPN network change... any ideas?

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)

like image 535
Davery Avatar asked May 18 '11 16:05

Davery


1 Answers

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

like image 154
Dave Avatar answered Nov 11 '22 18:11

Dave