Microsoft KB Archive/306160

From BetaArchive Wiki
Knowledge Base


How to repair an existing installation of the .NET Framework

Article ID: 306160

Article Last Modified on 12/3/2007



APPLIES TO

  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0



This article was previously published under Q306160

SUMMARY

You may need to repair your installation of the .NET Framework if you upgrade your operating system or if the current installation of the .NET Framework becomes corrupted. This article describes how to do so.

Steps to repair the .NET Framework installation

  1. Obtain the original installation source. For example, if you installed the .NET Framework from a CD-ROM or from a DVD, insert that disc. If you downloaded the .NET Framework , download the .NET Framework again. Make sure that you click save to disk. If you installed the .NET Framework from a network share, reconnect to that share.
  2. Click Start, click Run, type the following command, and then click OK:

    N:\dotnetframework\dotnetfx.exe /t:c:\temp /c:"msiexec.exe /i c:\temp\netfx.msi REINSTALL=ALL ReinstallMODE=vomus"

    Note Replace N:\ in this command syntax with the original installation path.

    Important If you do not have a C:\temp folder on your computer, create one before you run this command.

The Microsoft Windows Installer will verify and repair the .NET Framework installation.


Additional query words: setup

Keywords: kbhowtomaster kbsetup KB306160