Configure an ASP.NET Application for ASP.NET By default, when the Microsoft® .NET Framework is installed on a computer with an existing .NET Framework installation, most Microsoft ASP.NET applications are automatically updated to use the newly installed version. The exceptions are applications that are bound to an incompatible or later version of the .NET Framework. Although later versions of the .NET Framework are designed to be backward compatible, you might need to configure an ASP.NET application to use an earlier version, if it cannot run successfully on a later version of the .NET Framework. When multiple versions of the .NET Framework are executing side-by-side on a single computer, the ASP.NET ISAPI version script that is mapped to an ASP.NET application determines which version of the common language .NET Framework is used for the application. The following sections describe the process for configuring an ASP.NET application to target a specific version of the .NET Framework. Requirements
Recommendation As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. At the command prompt, type: runas /user: administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc". ProceduresViewing the Script Map for an ASP.NET Application When managing a computer with multiple versions of the .NET Framework installed, it is often useful to view the script map for an ASP.NET application to determine which version is used by the application.
Configuring an ASP.NET Application for ASP.NET When the .NET Framework is installed on a computer with an existing .NET Framework installation, by default all ASP.NET application script maps are automatically updated to use the newly installed version. To make it easier to reconfigure the script map for an ASP.NET application, each installation of the .NET Framework comes with an associated version of the ASP.NET IIS Registration tool (Aspnet_regiis.exe). Administrators can use Aspnet_regiis.exe to remap an ASP.NET application to the correct version of ASP.NET.
Aspnet_regiis.exe can also be used to display the status of all installed versions of ASP.NET, register the associated version of ASP.NET, create client-script directories, and perform other configuration operations.
|