Remote debugging between different domaine

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

I try to debug a WCF hosted in a windows services on a serveur that is on an
other domaine then my developpement machine. I tried many things without
succes. Here is what I tried:

First I installed on the server I want to debug, the remote debugger tools
from the VS 2005 CD. I just install the windows application. I tried from
there to debug, without succes. I could connect to the remote machine only
when the msvsmon.exe is in the mode 'No authentication (native only)'. But
the problem with that mode is only the native code is available to debug. In
my case, I want to debug .net code. When I tried to put the mode to "Windows
authentication", I receive the following message "Unable to connect to 'name
of machine'. The microsoft Visual Studio Remote Debugging Monitor is either
not running ont the remote machine or is running in Windows authentication
mode." I confirme that the remote debugging monitor is running on the remote
machine. What is left is the mode, and it's a fact that it is in 'Windows
authentication' mode. But it exactely what I need if I want to debug .net
code.

I found an article that show an option to that situation. It recommend to
create a local user on both machine, with administrators rights and with
the same name/password. And to log on the remote machine with that new user
et start de windows debugger app with the 'run as administrator'. Do the
same on the client machine, and start VS2005 with 'run as administrator'. No
succes. Still have the error when I tried to attache to the process. In the
'attach to process' windows, I choose the option 'Remote' and put the name
of the computer like wdefacevo1. I could ping that computer, and like I said
before, if I change the mode on the remote computer, I could see all the
process of the remote machine.

If any one has an idea to solve that problem, it will be very appreciate.

Best Regards
Yves


.



Relevant Pages

  • RE: debugging ASP NET in a remote web server with remote file server
    ... ASP.NET application on a remote Windows 2003 machine with an "Access ... userdoes not have permissions to debug the aspnet_wp process. ... Microsoft Windows 2000 and Microsoft Windows XP, ...
    (microsoft.public.vsnet.debugging)
  • connecting to sql remote database
    ... i am able to connect to remote sql server ... using windows authentication. ...
    (microsoft.public.sqlserver.connect)
  • sql server remote connection
    ... > change it to administrator account, i am able to connect to remote sql server ... > using windows authentication. ...
    (microsoft.public.sqlserver.clients)
  • sql server remote connection
    ... i am able to connect to remote sql server ... using windows authentication. ...
    (microsoft.public.sqlserver.clients)
  • RE: Enabling anonymous ldap in server 2003
    ... I understand that Windows NT RRAS's remote user ... cannot pass Windows Server 2003 authentication. ... a Windows NT 4.0-based Remote Access Service or Routing and Remote ... Access Service server as a member of a Windows Server 2003-based ...
    (microsoft.public.windows.server.migration)