BUG: "Unable to debug application" error message when you remove Visual Studio .NET 2003 and then debug a COM+ application (823239)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Professional Edition
- 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), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSWhen you remove Microsoft Visual Studio .NET 2003 on a
computer where Microsoft Visual Studio .NET 2002 is already installed, and then
you try to debug a COM+ application from the Component Services console, you
may receive the following error message: Unable to debug
application. Visual Studio .NET 2003 does not seem to be installed on this
machine. CAUSE When you install Visual Studio .NET 2003, the default
debugger path is set to Vs7jit.exe in Visual Studio .NET 2003. When you remove
Visual Studio .NET 2003, this path becomes obsolete. When you try to debug the
COM+ application, the process tries to start the debugger in the path that is
no longer valid.RESOLUTIONTo resolve the problem, follow these steps to modify the
path that is referred by the COM+ application to the existing debugger path:
- In the Component Services console, expand
COM+ Application, and then locate your COM+
application.
- Right-click the COM+ application, and then click
Properties.
- Click the Advanced tab, and then set the
Debugger path to "%Folder
Path%\Common7\IDE\devenv.exe" /debugexe dllhost.exe
/ProcessID:{2E28A8CA-9995-4C20-B70F-CAC81C285B82}
Note:
- %Folder Path% is a
placeholder for the path of the Visual Studio .NET 2002 folder on your
computer. The Visual Studio .NET 2002 folder is located at C:\Program
Files\Microsoft Visual Studio .NET.
- {2E28A8CA-9995-4C20-B70F-CAC81C285B82}
is a placeholder for the process ID of your COM+ application.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed at the beginning of this article.
REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 2/4/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbpending kbDebug kbJIT kbcomplusobj kbbug KB823239 kbAudDeveloper |
---|
|