Microsoft KB Archive/824643

= How to troubleshoot Microsoft .NET Framework 1.1 installation issues =

Article ID: 824643

Article Last Modified on 3/29/2007

-

APPLIES TO

 Microsoft .NET Framework 1.1, when used with:  Microsoft Windows XP Professional

 Microsoft Windows 2000 Standard Edition 

-





Note Do not use the information that appears in this article to troubleshoot a Microsoft .NET Framework 1.1 installation on Microsoft Windows Server 2003. For more information about how to troubleshoot a .NET Framework 1.1 installation on Windows Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:

830646 How to troubleshoot Microsoft .NET Framework 1.1 installation issues on Microsoft Windows Server 2003



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
This step-by-step article describes how to troubleshoot issues that you may experience when you install the .NET Framework 1.1.

When Microsoft Windows Installer is incorrectly registered in the Windows registry, the .NET Framework 1.1 Setup program cannot gain access to some Windows Installer components. This article discusses how to work around this issue by unregistering and then reregistering Windows Installer.

You may not always be able to completely remove the .NET Framework 1.1 by using the Add/Remove Programs tool in Control Panel. This article also discusses how to work around this issue either by manually removing the .NET Framework 1.1 from your computer and then reinstalling the .NET Framework 1.1, or by repairing the .NET Framework 1.1.

Requirements
This article assumes that you are familiar with the following topics:
 * Microsoft .NET Framework 1.1
 * Registry Editor
 * Windows Installer

The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
 * Microsoft Windows 2000, or Microsoft Windows XP
 * Microsoft .NET Framework 1.1

Unregister and then reregister Windows Installer
<ol> Unregister Windows Installer: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run.</li> In the Open box, type msiexec /unregister, and then click OK.</li></ol> </li> Reregister Windows Installer: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run.</li> In the Open text box, type msiexec /regserver, and then click OK.</li></ol> </li></ol>

Manually remove and then reinstall the .NET Framework 1.1
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Remove .NET Framework 1.1 from the Windows Installer cache. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run.</li> In the Open text box, type Installer, and then click OK.</li> On the View menu in Windows Installer, click Details.</li> Do one of the following, depending on your operating system:  In Windows XP, right-click the Name column header, and then click Comments.</li> In Windows 2000, right-click the Name column header, and then click Comment.</li></ul> </li> Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Uninstall.</li> After the uninstall process has completed, quit the Installer.</li></ol> </li> <li>Manually delete the existing files and folders from your computer. Depending on the present condition of the .NET Framework, this file and folder might not exist .To delete the file and folder, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open text box, type system32, and then click OK. The contents of the System32 folder appear in Windows Explorer.</li> <li>Locate and then delete the URTTemp folder.</li> <li>Locate and then delete the mscoree.dll file.

Note If the .NET Framework 1.0 is also installed on your computer, and you do not intend to reinstall the .NET Framework 1.1, you must repair the .NET Framework 1.0. For more information, see the &quot;Repair the .NET Framework&quot; section.</li> <li>Click Start, and then click Run.</li> <li>In the Open text box, type Microsoft.NET, and then click OK. The contents of the Microsoft.NET folder appear in Windows Explorer.</li> <li>In the Microsoft.NET folder, double-click the Framework folder.</li> <li>In the Framework folder, delete the v1.1.4322 folder.</li> <li>Close the Framework folder.</li></ol> </li> <li>Manually delete the relevant registry keys. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open text box, type regedit, and then click OK to start Registry Editor.</li> <li>In Registry Editor, locate and then delete the existing registry keys (all the registry keys may not be present): <ul> <li> </li> <li> </li></ul> </li> <li>Quit Registry Editor.</li></ol> </li> <li>Zap Windows Installer information from the registry by using the Msizap.exe utility. The Msizap.exe utility is included with Microsoft Windows Installer Software Development Kit (SDK). To download Windows Installer SDK, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en

To zap Windows Installer information from the registry, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open text box, type cmd, and then click OK.</li> <li>At the command prompt, locate the directory that contains the Msizap.exe utility, and then run the following command:

Msizap TP {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1}

</li> <li>Restart your computer.</li></ol> </li> <li>Clear the contents of your Temp folder. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>In the Open text box, type %Temp%, and then click OK. The contents of the Temp folder appear in Windows Explorer.</li> <li>In the Temp folder, click Select All on the Edit menu.</li> <li>On the File menu, click Delete.

Note Delete as many files and folders as possible from the Temp folder.</li></ol> </li> <li>Disable all antivirus programs and all firewall programs that you have installed on your computer. To do this, use the System Configuration Utility (Msconfig.exe) to perform a clean start of your computer, and then disable any services that you do not need. When you use Msconfig.exe in diagnostic mode, reenable the Windows Installer Service on the Services tab. To start Msconfig, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, and then click Run.</li> <li>Type MSconfig, and then click OK.</li></ol> </li> <li>Install the .NET Framework 1.1. To download the .NET Framework 1.1, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

Note If the .NET Framework 1.0 is installed on your computer, and you do not intend to reinstall the .NET Framework 1.1, you must repair the .NET Framework 1.0 to replace the Mscoree.dll file and the URTTemp folder.</li></ol>

Repair the .NET Framework
The following are three ways to repair the .NET Framework.

Repair the .NET Framework 1.1 by using the Windows Installer cache file
To repair the .NET Framework 1.1 by using the Windows Installer cache file, follow these steps:
 * 1) Click Start, and then click Run.
 * 2) In the Open text box, type Installer, and then click OK.
 * 3) On the View menu in Windows Installer, click Details.
 * 4) Do one of the following, depending on your operating system:
 * 5) * In Windows XP, right-click the Name column header, and then click Comments.
 * 6) * In Windows 2000, right-click the Name column header, and then click Comment.
 * 7) Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Repair.
 * 8) After the repair process has completed, quit the Installer.

Repair the .NET Framework 1.1 by using the command prompt
To repair the .NET Framework 1.1 by using the command prompt, follow these steps: <ol> <li>Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.1. To do this, use one of the following methods: <ul> <li>If you installed the .NET Framework 1.1 from a CD or from a DVD, insert the installation disc in your CD-ROM or DVD-ROM drive.</li> <li>If you installed the .NET Framework 1.1 from your hard disk, download the .NET Framework 1.1 Setup program to your hard disk.</li> <li>If you installed the .NET Framework 1.1 from a network drive, reconnect to the network drive.</li></ul> </li> <li>Click Start, and then click Run.</li> <li>In the Open text box, type cmd, and then click OK.</li> <li>At the command prompt, run the following command:

\dotnetfx.exe /t:%temp% /c:&quot;msiexec.exe /fvecms %temp%\netfx.msi&quot;

Note  is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.</li></ol>

Repair the .NET Framework 1.0 by using the command prompt
To repair the .NET Framework 1.0 by using the command prompt, follow these steps: <ol> <li>Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.0. To do this, use one of the following methods: <ul> <li>If you installed the .NET Framework 1.0 from a CD or from a DVD, insert the installation disc in your CD-ROM or DVD-ROM drive.</li> <li>If you installed the .NET Framework 1.0 from your hard disk, download the .NET Framework 1.0 Setup program to your hard disk.</li> <li>If you installed the .NET Framework 1.0 from a network drive, reconnect to the network drive.</li></ul> </li> <li>Click Start, and then click Run.</li> <li>In the Open text box, type cmd, and then click OK.</li> <li>At the command prompt, run the following command:

\dotnetfx.exe /t:%temp% /c:&quot;msiexec.exe /fvecms %temp%\netfx.msi&quot;

Note  is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.</li></ol>

<div class="references_section">