Microsoft Knowledge Base Email Alertz

KBAlertz.com: (886609) - Describes a problem that occurs after you install the .NET Framework 2.0 runtime. When you try to debug an application in Visual Studio .NET 2003, the debugger crashes.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 886609 - Last Review: May 18, 2007 - Revision: 2.4

FIX: Visual Studio .NET 2003 debugger crashes after you install the .NET Framework 2.0 runtime

SYMPTOMS

When 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.

CAUSE

Policy 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.

RESOLUTION

This problem is resolved in the .NET Framework 1.1 Service Pack 1 (SP1) runtime.

WORKAROUND

To 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>

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

You 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.

REFERENCES

For more information about the .NET Framework runtime, visit the following Microsoft Developer Network (MSDN) Web sites:

Determining which version of the runtime to load
http://msdn2.microsoft.com/en-us/library/w671swch(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/w671swch(vs.71).aspx)
Visual Studio 2005 Developer Center
http://msdn2.microsoft.com/en-us/vstudio/aa973782.aspx (http://msdn2.microsoft.com/en-us/vstudio/aa973782.aspx)

APPLIES TO
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft .NET Framework 1.1
Keywords: 
kbbug kbqfe kbprb KB886609
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please