Search code examples
visual-studiovisual-studio-2010cross-domainremote-debugging

How do I perform VS 2010 cross domain remote debugging?


Can someone please point me to some "for dummies" step-by-step guide for remote debugging using Visual Studio 2010?

I need remote debug a web service. My computer and the server are in different domains.

I've been reading this in MSDN for two days and still have no clue.

Best regards, Primoz


I get this error:

Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'remote.host'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. A firewall may be preventing communication via DCOM to the local computer. Please see Help for assistance.

I'm using win 7 and on remote server is win 2008 r2. I turned off firewall on both ends.


Solution

  • I found out that Remote debugging on a server that's in a different domain requires you to add your domain account to the administrators group and to the Permissions section of the remote debugger.