VS2008 remote debugging cross domain error

Posted on 2009-04-20
Last Modified: 2013-12-12

I'm trying to do some remote debugging with Visual Studio 2008 from my laptop (Vista 64) to a testing server (Windows Server 2008 32 bit).  My laptop is not a member of any domain as I connect it regularly to my clients networks and have had issues in the past if it's a member of my own domain.  The testing server is a member of my office domain (separate Windows 2008 Small Business Server X64).

I have followed the instructions to install the remote debugging tools on my testing server and this all went successfully.  When I try and debug from my Vista 64 laptop, I get the following error.  My laptop is named Gary-Vista64, hence the domain of the same name being workgroup based.  My username is "gary" and a domain based user with same name and password exists on the domain which the testing server belongs to.  I understand that "Gary-Vista64\Gary" doesn't exist in the active directory used by the test server, but don't know what to do from here.  I really don't want to make my laptop part of the domain.

Any ideas ?

Thanks ... in advance!

Event log information follows (from the testing server event log):

An account failed to log on.

      Security ID:            NULL SID
      Account Name:            -
      Account Domain:            -
      Logon ID:            0x0

Logon Type:                  3

Account For Which Logon Failed:
      Security ID:            NULL SID
      Account Name:            gary
      Account Domain:            Gary-Vista64

Failure Information:
      Failure Reason:            Unknown user name or bad password.
      Status:                  0xc000006d
      Sub Status:            0xc0000064

Process Information:
      Caller Process ID:      0x0
      Caller Process Name:      -

Network Information:
      Workstation Name:      GARY-VISTA64
      Source Network Address:
      Source Port:            50971

Detailed Authentication Information:
      Logon Process:            NtLmSsp
      Authentication Package:      NTLM
      Transited Services:      -
      Package Name (NTLM only):      -
      Key Length:            0

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
      - Transited services indicate which intermediate services have participated in this logon request.
      - Package name indicates which sub-protocol was used among the NTLM protocols.
      - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
Question by:G-Burgess
    1 Comment

    Accepted Solution

    OK, being as no-one had any better ideas - I went ahead and made my laptop a member of the domain and logged on to my laptop using the domain account, and remote debugging now works.  It's a but of a pain (small I guess) that I now must logon local when out and about at my clients networks, but logon to the domain when I wish to remote debug - it seems to be the only thing that need "real" security.  I generally rely on my user name and password matching, but this also requires the domain to match.

    All fixed as far as I am concerned.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Let’s list some of the technologies that enable smooth teleworking. 
    Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
    This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
    The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now