How to troubleshoot Microsoft.NET Framework 1.1 installation issues in Windows XP or in Windows 2000

Article translations Article translations
Article ID: 824643 - View products that this article applies to.
Note Do not use the information that appears in this article to troubleshoot a Microsoft .NET Framework 1.1 installation on 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
Expand all | Collapse all

On This Page

SUMMARY

This step-by-step article describes how to troubleshoot issues that you may experience when you install the .NET Framework 1.1 in Windows XP or in Windows 2000.

CAUSE

When Microsoft Windows Installer is registered incorrectly in the Windows registry, the .NET Framework 1.1 Setup program cannot gain access to some Windows Installer components.

RESOLUTION

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 Windows XP
  • Microsoft .NET Framework 1.1

Method 1: Unregister and then reregister Windows Installer

  1. Unregister Windows Installer:
    Click Start, click Run, type msiexec /unregister, and then click OK.
  2. Reregister Windows Installer:
    Click Start, click Run, type msiexec /regserver, and then click OK.

Method 2: Repair the .NET Framework

There are two options to repair the .NET Framework.

Option A: Repair the .NET Framework 1.1 by using the command prompt

  1. Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.1. To do this, use one of the following methods:
    • If you installed the .NET Framework 1.1 from a CD or from a DVD, insert the installation disc in your CD drive or DVD drive.
    • If you installed the .NET Framework 1.1 from your hard disk, download the .NET Framework 1.1 Setup program to your hard disk.
    • If you installed the .NET Framework 1.1 from a network drive, reconnect to the network drive.
  2. Click Start, click Run, type cmd, and then click OK.
  3. At the command prompt, run the following command:
    %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"
    Note %InstallationPath% is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.

Option B: Repair the .NET Framework 1.1 by using the Windows Installer cache file

  1. Click Start, click Run, type Installer, and then click OK.
  2. On the View menu in Windows Installer, click Details.
  3. Do one of the following, depending on your operating system:
    • In Windows XP, right-click the Name column header, and then click Comments.
    • In Windows 2000, right-click the Name column header, and then click Comment.
  4. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Repair.
  5. After the repair process is complete, exit the Installer.

Method 3: Remove and then reinstall the .NET Framework 1.1

There are two options to remove and then reinstall the .NET Framework 1.1.

Option A: Use the .NET Framework cleanup tool (automatic method)

The .NET Framework cleanup tool will remove and then reinstall the .NET Framework 1.1 for you. For information about how to obtain and to use this tool, visit the following MSDN Web site:
http://blogs.msdn.com/astebner/archive/2005/12/10/502439.aspx
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Option B: Modify the registry (manual method)

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
  1. Remove .NET Framework 1.1 from the Windows Installer cache. To do this, follow these steps:
    1. Click Start, click Run, type Installer, and then click OK.
    2. On the View menu in Windows Installer, click Details.
    3. Do one of the following, depending on your operating system:
      • In Windows XP, right-click the Name column header, and then click Comments.
      • In Windows 2000, right-click the Name column header, and then click Comment.
    4. Right-click the cached Windows Installer file that has the Microsoft .NET Framework 1.1 RTL x86 enu comment, and then click Uninstall.
    5. After the uninstall process is complete, exit the Installer.
  2. 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:
    1. Click Start, click Run, type system32, and then click OK. The contents of the System32 folder appear in Windows Explorer.
    2. Locate and then delete the URTTemp folder.
    3. 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 "More Information" section.
    4. Click Start, click Run, type Microsoft.NET, and then click OK. The contents of the Microsoft.NET folder appear in Windows Explorer.
    5. In the Microsoft.NET folder, double-click the Framework folder.
    6. In the Framework folder, delete the v1.1.4322 folder.
    7. Close the Framework folder.
  3. Manually delete the relevant registry keys. To do this, follow these steps:
    1. Click Start, click Run, type regedit, and then click OK to start Registry Editor.
    2. In Registry Editor, locate and then delete the existing registry keys (all the registry keys may not be present):
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
    3. Exit Registry Editor.
  4. 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:
    1. Click Start, click Run, type cmd, and then click OK.
    2. 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}
    3. Restart your computer.
  5. Clear the contents of your Temp folder. To do this, follow these steps:
    1. Click Start, click Run, type %Temp%, and then click OK. The contents of the Temp folder appear in Windows Explorer.
    2. In the Temp folder, click Select All on the Edit menu.
    3. On the File menu, click Delete.

      Note Delete as many files and folders as possible from the Temp folder.
  6. 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, re-enable the Windows Installer Service on the Services tab. Then, start Msconfig. To do this, follow this step:
    Click Start, click Run, type MSconfig, and then click OK
  7. 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. For more information, see the "More Information" section.

MORE INFORMATION

How to 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:
  1. Locate the Dotnetfx.exe file that you used to install the .NET Framework 1.0. To do this, use one of the following methods:
    • If you installed the .NET Framework 1.0 from a CD or from a DVD, insert the installation disc in your CD drive or DVD drive.
    • If you installed the .NET Framework 1.0 from your hard disk, download the .NET Framework 1.0 Setup program to your hard disk.
    • If you installed the .NET Framework 1.0 from a network drive, reconnect to the network drive.
  2. Click Start, click Run, type cmd, and then click OK.
  3. At the command prompt, run the following command:
    %InstallationPath%\dotnetfx.exe /t:%temp% /c:"msiexec.exe /fvecms %temp%\netfx.msi"
    Note %InstallationPath% is a placeholder for the path of the Dotnetfx.exe file that you located in step 1.

REFERENCES

For more information, visit the following Web sites:
.NET Framework 1.1 FAQ
http://msdn2.microsoft.com/en-us/netframework/aa497323.aspx

Versioning, compatibility, and side-by-side execution in the .NET Framework
http://msdn2.microsoft.com/en-us/netframework/aa497340.aspx

Windows Installer
http://msdn2.microsoft.com/en-us/library/aa372866.aspx

.NET Framework cleanup tool
http://blogs.msdn.com/astebner/archive/2005/12/10/502439.aspx

Registry Editor
http://msdn2.microsoft.com/en-us/library/x6kd89c5(vs.71).aspx

Properties

Article ID: 824643 - Last Review: September 22, 2011 - Revision: 5.0
APPLIES TO
  • Microsoft .NET Framework 1.1, when used with:
    • Microsoft Windows XP Professional
Keywords: 
kbexpertiseadvanced kbresolve kbtshoot kbregistry kbsyssettings kbsoftwaredist kbpdwizard kbsetup kbappsetup kbdeployment kbhowtomaster KB824643

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com