Visual Studio 2012 Remote Debugging: Invalid access to memory location

Shumii picture Shumii · Dec 14, 2012 · Viewed 42.9k times · Source

I followed the instructions in this link: http://msdn.microsoft.com/en-us/library/bt727f1t.aspx to install the remote debugger (2012) on my server where the application is running in hope to debug it remotely from my dev machine running visual studio 2012.

I cannot even get as far as viewing the list of processes to attach to on the remote machine. I keep getting "Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named [name]. Invalid access to memory location".

I have managed to successfully connect a few times but then the attach fails immediately then I cannot connect again.

This is causing huge issues for me as I cannot remote debug anything. I must be missing something glaring. Please someone give me a solution.

Answer

Vladimir picture Vladimir · Jan 31, 2013

I've found the only way to correct this is by restarting Visual Studio.

Worked for me. I found it at this blog post about invalid access and remote debugging.