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

Article translations Article translations
Article ID: 823234 - View products that this article applies to.
Expand all | Collapse all

On This Page

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:
http://msdn2.microsoft.com/en-us/library/x9t2aax1(vs.71).aspx

Properties

Article ID: 823234 - Last Review: May 16, 2007 - Revision: 1.6
APPLIES TO
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kbvs2005doesnotapply kbvs2005swept kbservice kbsoftwaredist kbcompatvers kbsxs kbsetup kbdeployment kberrmsg kbprb KB823234

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com