Microsoft KB Archive/830646

From BetaArchive Wiki

Article ID: 830646

Article Last Modified on 4/23/2007



APPLIES TO

  • Microsoft .NET Framework 1.1, when used with:
    • Microsoft Windows Server 2003, Standard Edition (32-bit x86)



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

824643 How to troubleshoot Microsoft .NET Framework 1.1 installation issues


Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit 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 Microsoft .NET Framework 1.1 on a computer that is running Microsoft Windows Server 2003.

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.

This article also discusses how to troubleshoot other issues that you may experience when you install the .NET Framework 1.1 on Windows Server 2003, how to repair or reinstall Windows Server 2003, and how to manually repair the .NET Framework 1.1.

back to the top

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 Server 2003

back to the top

Unregister and then reregister Windows Installer

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

back to the top

Repair or reinstall Windows Server 2003

When you repair or reinstall Windows Server 2003, you automatically repair the .NET Framework 1.1. To do this, run your Windows Server 2003 Setup program. For more information about Windows Server 2003, visit the following Microsoft Web site:

back to the top

Manually repair the .NET Framework 1.1

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. Manually delete the netfx registry value from the Windows registry. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type regedit, and then click OK to start Registry Editor.
    3. In Registry Editor, locate and then click the following registry key:

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents

    4. Under Name in the right pane of Registry Editor, right-click netfx, and then click Delete.
    5. In the Confirm Value Delete dialog box, click Yes.
    6. Quit Registry Editor.
  2. In the Inf folder that is located in your Windows folder, create a device information (.inf) file. To do this, follow these steps:
    1. Paste the following text in a text editor such as Notepad:

      [Version]
      Signature = "$Windows NT$"
      DriverVer=10/01/2002,5.2.3790.0
      
      [Components]
      netfx=netfxocm.dll,UrtOcmProc,netfxocm.inf,,7
    2. On the File menu, click Save.
    3. In the Save As dialog box, locate and then click the %Windows Folder%\inf folder on your computer.

      Note %Windows Folder% is a placeholder for the path of your Windows folder.
    4. In the Save as type drop-down list box, click All Files.
    5. In the File name text box, type sysnew.inf and then click Save.
  3. Run the Windows Optional Component (OC) Installer wizard to reinstall the .NET Framework 1.1. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type cmd, and then click OK.
    3. At the command prompt, run the following command to start the Windows OC Installer wizard:

      sysocmgr /i:%Windows Folder%\inf\sysnew.inf

      Note %Windows Folder% is a placeholder for the path of your Windows folder.
    4. On the Windows Components page of the Windows OC Installer wizard, click Next to reinstall the .NET Framework 1.1.

      Note If the Files Needed dialog box appears, type the path of the i386 installation folder in the Copy files from text box, and then click OK. The i386 folder is located in the folder where you installed your operating system.
  4. Manually install assemblies in the global assembly cache. To do this, follow these steps:
    1. Click Start, and then click Run.
    2. In the Open text box, type cmd, and then click OK.
    3. At the command prompt, run the following command (type this command on one line):

      "%Windows Folder%\Microsoft.NET\Framework\v1.1.xxxx\gacutil.exe" /f /il %Windows Folder%\Microsoft.NET\Framework\v1.1.xxxx\assemblylist.txt

      Notes

      • %Windows Folder% is a placeholder for the path of your Windows folder.
      • xxxx is a placeholder for the build number of the version of the .NET Framework 1.1 that you are trying to repair.

back to the top

REFERENCES

For more information, visit the following Microsoft Web sites:

back to the top

Keywords: kbtshoot kbregistry kbpdwizard kbsyssettings kbsoftwaredist kbsetup kbdeployment kbappsetup kbhowtomaster KB830646