Microsoft KB Archive/934711

= Error message when you restart the computer after you uninstall a security update for the .NET Framework 1.1: &quot;This application has requested the Runtime to terminate in an unusual way&quot; =

Article ID: 934711

Article Last Modified on 12/3/2007

-

APPLIES TO

 Microsoft .NET Framework 1.1 Service Pack 1, when used with:  Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

 Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows Server 2003, Web Edition</li></ul>

 Microsoft Windows XP Home Edition</li></ul>

 Microsoft Windows XP Media Center Edition 2002</li></ul>

 Microsoft Windows XP Professional</li></ul>

 Microsoft Windows XP Starter Edition</li></ul>

 Microsoft Windows XP Tablet PC Edition</li></ul>

 Microsoft Windows 2000 Advanced Server</li></ul>

 Microsoft Windows 2000 Datacenter Server</li></ul>

 Microsoft Windows 2000 Professional Edition</li></ul>

<ul> <li>Microsoft Windows 2000 Server</li></ul> </li></ul>

-

<div class="symptoms_section">

SYMPTOMS
You uninstall a security update for the Microsoft .NET Framework 1.1. If the computer has the Microsoft .NET Framework 1.1 and the Microsoft .NET Framework 2.0 installed, you may receive the following error message when you restart the computer:

Microsoft Visual C++ Runtime Library

Runtime Error !

Program: C:\WINNT\System32\WBEM\WinMgmt.exe

This application has requested the Runtime to terminate in an unusual way. Please contact the application’s support team for more information.

<div class="cause_section">

CAUSE
This issue may occur if the .NET Framework 2.0 installation is corrupted or damaged. Programs that require the .NET Framework 2.0 may no longer run. Additionally, some programs may display the error message that is mentioned in the &quot;Symptoms&quot; section or other program error messages.

<div class="resolution_section">

RESOLUTION
To resolve this issue after you uninstall the security update for the .NET Framework 1.1, you must uninstall the .NET Framework 2.0. Then, you must reinstall the .NET Framework 2.0. To do this, follow these steps: <ol> <li>Uninstall the .NET Framework 2.0 from the computer by using Add or Remove Programs in Control Panel. Additionally, uninstall any beta version of the .NET Framework from the computer.</li> <li>If you are prompted, restart the computer.</li> <li>To reinstall the .NET Framework 2.0, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5

</li> <li>If you are prompted, restart the computer when the installation is complete.</li> <li>Reinstall the security updates that are applicable for the .NET Framework 2.0.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The .NET Framework 2.0 installs a file that is named the Mscorees.dll file. This file was updated after the original release of the .NET Framework 2.0.

Security bulletin MS07-040 contains information about the security update for the .NET Framework 1.1. Specifically, the following updates also install the Mscorees.dll file:
 * Update 928366
 * Update 929729
 * Update 933854

After you install the security update for the .NET Framework 1.1, the Mscorees.dll file is a shared file between the .NET Framework 1.1 and the .NET Framework 2.0.

For more information about security bulletin MS07-040, click the following article number to view the article in the Microsoft Knowledge Base:

931212 MS07-040: Vulnerabilities in the .NET Framework could allow remote code execution

Because of a limitation in Microsoft Windows Installer, Windows Installer does not correctly handle the shared file when you uninstall the security update for the .NET Framework 1.1.

Note Windows Installer is the technology behind the Setup program for the security update for the .NET Framework 1.1.

When you uninstall the security update for the .NET Framework 1.1, the Mscorees.dll file is incorrectly deleted from the computer. This issue may occur even though the Mscorees.dll file is required for the .NET Framework 2.0 to run correctly.

For more information about update 928366, about update 929729, and about update 933854, click the following article numbers to view the articles in the Microsoft Knowledge Base:

928366 Description of the security update for the .NET Framework 1.1 for Windows XP and Windows 2000: July 10, 2007

929729 Description of the security update for the .NET Framework 1.1 for Windows Vista: July 10, 2007

933854 Description of the security update for the .NET Framework 1.1 for Windows Server 2003: July 10, 2007

Additional query words: security update uninstall remove corrupt SxS side by side shared file .NET Framework 1.1 2.0 shared file mscorees.dll

Keywords: kbupdateissue kbinstallation kbupdate kbhowto kbtshoot kbexpertisebeginner kbprb KB934711

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.