.NET Framework Redistribution

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

When you deploy an ASP.NET application to a production server, you also need to install the .NET Framework redistributable package (Dotnetfx.exe) to support the ASP.NET server controls and other portions of the application that run on the server. However, your application can use one version of the redistributable package while other applications on the server uses another.

When you include the .NET Framework redistributable package with an application that you are installing to a production server, ASP.NET is automatically updated. If the server hosts other applications that use a different version of ASP.NET, you need to incorporate the following command in your application's setup program:

Dotnetfx.exe /c:"install /NOASPUPGRADE"

Once the application is installed, you must create a script map between the application's virtual directory to the version of the .NET Framework that you installed. For more information about how to create custom script maps, see Setting Application Mappings in IIS 6.0.

For more information about the Microsoft .NET Framework redistributable package, see information in Dotnetfx.exe in the MSDN Library.