Setting the ASP.NET Version for a Web Site or Application

InstallShield 2019 Express Edition

InstallShield lets you set the ASP.NET version for a Web site or application in your installation. If you specify the ASP.NET version, after the Web site or application is created, the installation runs the ASP.NET IIS Registration tool (Aspnet_regiis.exe) to map the Web site or application to the version that you specify.

If you specify the ASP.NET version for a Web site, IIS uses that value for the Web site that is created at run time, as well as for any of its applications.

Important • Microsoft does not recommend using the Aspnet_regiis.exe tool on Windows Vista, Windows Server 2008, and later systems because it has limited capabilities. As a result, you may need to manually define application mappings in the Internet Information Services view. To learn more, see Defining Application Mappings for a Web Site, Application or Virtual Directory.

ASP.NET 3.0 does not include the Aspnet_regiis.exe tool. Therefore, you cannot set the ASP.NET version to version 3 of ASP.NET.

To specify the ASP.NET version for a Web site or application in your project:

1. In the View List under Configure the Target System, click Internet Information Services.
2. In the Web Sites explorer, select the Web site or application whose ASP.NET version you want to specify. The settings for the Web site or application are displayed on the right.
3. For the ASP.NET Version setting, enter the complete version number of the .NET Framework that is required by your application, or select it from the list.

For example, to specify version 2 of ASP.NET, type 2.0.50727. To specify version 1.1 of ASP.NET, type 1.1.4322.

See Also