"Cannot connect back" - Visual Studio 2008 Remote Debugger for C# apps
-
I have been using Visual C++ Remote Debugger for debugging native code for some years, and it does not require Windows authentication. This is my first time doing C# things. I learned that remote debugging C# managed code requires Windows authentication. The laptop with Visual Studio 2008 Pro (the host machine, Windows XP) is in my company domain, whereas the target machine (Windows 7) is of some WORKGROUP not in my company domain. I have tried various configurations according to this MSDN doc[^] and this article[^], including the below: - Setting up the identical account/password (of admins group) in both the host and the target machine, - Turning off Windows Firewall, - Turning on Windows Firewall with proper exceptions, - Using "runas" to launch VS2008 with some specific user account, - Enabling all ICMP responses, - Adding my domain user account to the "Run as Service" in the Local Security Policy of the target machine, etc. Nothing makes it work. The symptom is as this screenshot[^]. Sometimes with certain configuration it said "Access is denied" in the end of the popup message. Have anyone had the same experience? How did you resolve the issue? Thanks in advance.
Maxwell Chen