You may receive a "System error 2 has occurred The system cannot find the file specified" error message when you try to start the Visual Studio .NET Debugger Proxy Service (823234)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you try to start the Visual Studio Debugger Proxy Service (dbgproxy) at the Visual Studio .NET 2003 command prompt on a computer running Microsoft Windows 2000, you may receive the following error:
System error 2 has occurred.
The system cannot find the file specified.
Note This problem does not occur on a computer running Microsoft Windows XP or Microsoft Windows Server 2003. Also, this problem does not occur on a computer running Windows 2000 that has Visual Studio .NET 2002 installed.

CAUSE

This problem occurs in the following scenario:
  1. On a computer running Windows 2000, you install Visual Studio .NET 2002, and then you install Visual Studio .NET 2003.
  2. You remove Visual Studio .NET 2002. The uninstaller removes the version of dbgproxy that was installed with Visual Studio .NET 2002.
However, the Visual Studio .NET 2002 uninstaller also unregisters the version of dbgproxy that was installed with Visual Studio .NET 2003, in the list of operating system services. Therefore, you receive the error message that is described in the "Symptoms" section.

Note If you remove Visual Studio .NET 2003 from a computer that has both Visual Studio .NET 2002 and Visual Studio .NET 2003 installed, you do not experience this problem.

RESOLUTION

To resolve this problem, re-register the version of dbgproxy that is installed with Visual Studio .NET 2003. To do this, follow these steps:
  1. At the Visual Studio .NET 2003 command prompt, change the directory to the path of dbgproxy.

    Note Typically, the Visual Studio Debugger Proxy Service is located in the following directory:

    Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger

  2. At the Visual Studio .NET 2003 command prompt, type the following command, and then press ENTER:

    dbgproxy -remove

  3. At the Visual Studio .NET 2003 command prompt, type the following command, and then press ENTER:

    dbgproxy -install

  4. At the Visual Studio .NET 2003 command prompt, type the following command, and then press ENTER:

    net start dbgproxy

    You receive the following messages:The Visual Studio Debugger Proxy Service service is starting.
    The Visual Studio Debugger Proxy Service service was started successfully.

STATUS

This problem was corrected in Visual Studio .NET 2003.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. On a computer running Windows 2000, install Visual Studio .NET 2002.
  2. Install Visual Studio .NET 2003.
  3. Remove Visual Studio .NET 2002.
  4. Try to start the Visual Studio Debugger Proxy Service. To do this, type the following command at the Visual Studio .NET 2003 command prompt, and then press ENTER:

    net start dbgproxy

REFERENCES

For more information, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:1/31/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbService kbSoftwareDist kbCompatVers Kbsxs kbsetup kbDeployment kberrmsg kbprb KB823234 kbAudDeveloper