FIX: Visual Studio .NET 2003 debugger crashes after you install the .NET Framework 2.0 runtime (886609)
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 .NET Framework 1.1
SYMPTOMSWhen you try to debug an application by using the Microsoft Visual Studio .NET 2003 debugger, the debugger crashes. This problem occurs after you install the Microsoft .NET Framework 2.0 runtime.CAUSEPolicy changes that are introduced by the .NET Framework 2.0 runtime cause some unmanaged applications to "float up" to the most recent version of the runtime. This problem only occurs in certain cases. For example, this problem occurs when you create managed Component Object Model (COM) servers.
When the unmanaged application is launched, the unmanaged application uses the .NET Framework 2.0. However, the Visual Studio .NET debugger uses the .NET Framework 1.1 runtime that is attached to the .NET Framework 2.0 runtime. The .NET Framework 1.1 runtime does not correctly handle the Visual Studio debugger that is attached to the .NET Framework 2.0. Therefore, the debugger crashes.RESOLUTIONThis problem is resolved in the .NET Framework 1.1 Service Pack 1 (SP1) runtime.WORKAROUNDTo work around this problem, the application that you are debugging must load the .NET Framework 1.1 runtime. To force this to occur, the configuration file must include the <requiredRuntime> element. The following sample code shows how to specify the runtime version in the configuration file. <?xml version = "1.0"?>
<configuration>
<startup>
<requiredRuntime version="v1.1.4322"/>
</startup>
</configuration> STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.MORE INFORMATIONYou can confirm this problem by looking at the version of mscorwks that is loaded to the application that you are debugging. If the version string is later than "v1.1.4322," this problem may occur.REFERENCESFor more information about the .NET Framework runtime, visit the following Microsoft Developer Network (MSDN) Web sites: Determining which version of the runtime to load Visual Studio 2005 Developer Center
Modification Type: | Major | Last Reviewed: | 6/26/2006 |
---|
Keywords: | kbBug kbQFE kbprb KB886609 kbAudDeveloper |
---|
|