Soooo close. I can see that it logged on the remote host with the same username, but now it's spewing out another error.
"Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor names 'x'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. Authentication failed. Please see Help for assistance." I checked help and it only talks about making sure that the machines can actually see each other which they can. I even have put the full workstations domain address into the windows hosts file just in case it may be getting confused by the domain but to no avail. ------------- Michael Lyons -----Original Message----- From: Ken Schaefer [mailto:[email protected]] Sent: Monday, 9 August 2010 9:13 AM To: Michael Lyons Subject: RE: Remote debugging outside of domain Can you create a local user on the remote machine that has the same username/password that you have in the AD domain? Cheers Ken -----Original Message----- From: Michael Lyons [mailto:[email protected]] Sent: Monday, 9 August 2010 9:09 AM To: Ken Schaefer Subject: RE: Remote debugging outside of domain No luck. Same result. Liked the idea though. I also made sure that the user was in the VS remote debugger permissions and they had debugging permissions under the local security policies. ------------- Michael Lyons -----Original Message----- From: Ken Schaefer [mailto:[email protected]] Sent: Sunday, 8 August 2010 9:50 PM To: Michael Lyons Subject: RE: Remote debugging outside of domain One option to try: Connect to shared folder on the remote machine first (e.g. c$ admin share) using Explorer Then VS. NET might use your established credentials to attempt to connect to the remote debugger service Cheers Ken -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Lyons Sent: Sunday, 8 August 2010 8:03 PM To: 'ozDotNet' Subject: Remote debugging outside of domain I'm needing to debug a Windows service to see why it is crashing after a few minutes. I've setup the remote debugger on the host machine, but I receive the error message "Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'x'. Logon Failure: unknown username or bad password". The issue is that my workstation is within a AD domain whilst the machine I wish to debug is not. How can I go about debugging the remote machine without disconnecting from the domain or connecting the remote machine to the domain? The service has also for some reason or another stopped outputting to via System.Diagnostics.EventLogTraceListener, would anyone have any clue why this would happen? ------------- Michael Lyons
