Microsoft KB Archive/823234

= You may receive a &quot;System error 2 has occurred The system cannot find the file specified&quot; error message when you try to start the Visual Studio .NET Debugger Proxy Service =

Article ID: 823234

Article Last Modified on 5/16/2007

-

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

-



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 &quot;Symptoms&quot; 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:  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:

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

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

dbgproxy -remove

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

dbgproxy -install

 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.



Steps to Reproduce the Behavior
 On a computer running Windows 2000, install Visual Studio .NET 2002.</li> Install Visual Studio .NET 2003.</li> Remove Visual Studio .NET 2002.</li> 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

</li></ol>

<div class="references_section">