Visual Studio 2005 Remote Debugger (Windows Service) RRS feed

  • Question

  • Greetings,

    I have now worked for several hours in order to resolve a problem we are having in our development team.

    We have a Windows 2003 server (all patches applied) and multiple XP clients (all patches applied).

    We are running a mixture of VS 2005 Team System and Professional, and we can all debug, if we are using the method, where we log on the server w. TS and start the Remote Debugger "host" application.

    However, this solution is not good, as we do not attend to run Termin Server, which means, that only two persons can be on the server simoultaonisly.

    I then set the Remote Debugger up as a Windows Service, with a designated account (log on locally, act as service and all that stuff).

    However, I keep getting this error message:

    "Unable to start debugging on the web server. You do not have privileges to debug the server process.

    Contact an administrator to get the debugger privileges on the server. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation."

    Now - what the heck is wrong here?

    All developers are in administrators group, and the designated user is also in the administrators group.

    Locally I get this in my event viewer:

    "Logon Failure:
      Reason:  An error occurred during logon
      User Name: 
      Logon Type: 3
      Logon Process: Kerberos
      Authentication Package: Kerberos
      Workstation Name: -
      Status code: 0xC000006D
      Substatus code: 0x8009030E

    For more information, see Help and Support Center at link"

    Any help to resolve this matter will be much appreciated!

    Have a nice weekend all.

    Friday, March 10, 2006 3:55 PM


All replies

  • Can you get a process listing on the remote machine (Tools->Attach To Process, enter remote machine name)? If not, what is the error?

    Is the remote debugger service running under a local account or a domain account? If local account, you will need matching user name/password on all the client boxes (see

    Sunday, March 12, 2006 4:40 PM
  • Hi Greeg,

    When i try to manually attach to the remote machine, i get the following error:

    "Unable to connect to the Microsoft Visual Studio Remote Debugger Monitor named '<SERVER_NAME>'. Access is denied."

    The remote debugger is running on a Domain account.

    Thanks in advance for your help.

    Monday, March 13, 2006 9:38 AM
  • Are you sure your account is an administrator on the remote computer?
    Monday, March 13, 2006 5:57 PM
  • Positive.

    The user is a local administrator, and his name is very bright and shining under the Administrators group ;)

    However, the problem was, that the user was a local user with the same name as the domain user.

    So I guess this is an error 40 .. :)

    Thank you for your assistance.

    Tuesday, March 14, 2006 1:30 PM

    I think “Working with Windows service Using Visual Studio 2005” article on may be helpful in this discussion.

    This popular white paper is written by a software engineer from our organization Mindfire Solutions (

    I hope you find it useful!


    Wednesday, June 11, 2008 10:19 AM