A Classic ASP Web server is the common configuration used for serving server-side scripted ASP pages. The Classic ASP server configuration adds IIS modules for ASP, Request Filtering, and ISAPI extensions to the default IIS 7 Web server installation. This topic describes how to install the IIS modules that are required to deploy a Classic ASP Web server.
Note |
---|
You must be logged on as a member of the Administrators group to perform this task.
|
The following table describes the IIS modules that are added to the default installation for a Classic ASP Web server.
IIS module name | Description |
---|---|
ASP |
Enables your Web server to host Classic ASP applications. |
Request Filtering |
Performs UrlScan tasks such as configuring allowed verbs and file name extensions, setting limits, and scanning for bad character sequences. |
ISAPI Extensions |
Supports dynamic Web content development using ISAPI extensions. |
Note |
---|
You can also run ASP.NET on the same server, but this scenario specifically covers only the modules required for Classic ASP. For more information about the ASP.NET scenario, see click="ja
|
To deploy a Classic ASP server
You can use the Web Platform Installer (Web PI) to easily install IIS, and applications that run on IIS. Because the Web PI installs the latest versions of available Web Platform offerings, with just a few simple clicks you can download and install any new tools or updates. To learn more about the Web PI, see click="ja
You can also perform this procedure by using the Windows user interface (UI) or from a command line.
To use the UI on Windows Server 2008 or Server 2008 R2-
Click Start, point to Administrative Tools, and then click Server Manager.
-
In Roles Summary, click Add Roles.
-
Use the Add Roles Wizard to add the Web Server (IIS) role.
For detailed instructions about how to install a default IIS 7 Web server, see click="ja
.vascript:Track('ctl00_MTCS_main_ctl00|ctl00_MTCS_main_ctl05',this);">Deploying a Static Content Server (IIS 7) -
On the Select Role Services page, note the preselected role services that are installed by default, and then select the following additional role services:
-
ASP
-
Request Filtering
-
ISAPI Extensions
-
ASP
-
On the Summary of Features to Install page, confirm your selections, and then click Install.
-
On the Installation Results page, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.
-
To verify that IIS installed successfully, type the following into a Web browser:
http://localhost
You should see the default IIS 7 Welcome page.
-
Click Start, and then click Control Panel.
-
In Control Panel, click Programs, and then click Turn Windows features on or off.
-
In the Windows Features dialog box, click Internet Information Services to install the default features, and then select the following additional features:
-
ASP
-
Request Filtering
-
ISAPI Extensions
-
ASP
-
Click OK to close the Windows Features dialog box.
-
To verify that IIS installed successfully, type the following into a Web browser:
http://localhost
You should see the default IIS Welcome page.
-
Type the following command into a script:
Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASP;IIS-ISAPIExtensions;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole; WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
************************************************************
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
An ASP.NET Web server is an extended IIS server that has the ASP.NET runtime extensibility model integrated into the core server. The ASP.NET server configuration uses IIS modules for ASP.NET, .NET Extensibility, Request Filtering, ISAPI Filters, and ISAPI Extensions to the default IIS 7 Web server installation. This topic describes how to install the IIS modules that are required to deploy an ASP.NET Web server.
Note |
---|
You must be logged on as a member of the Administrators group to perform this task.
|
The following table describes the IIS modules that are added to the default installation for an ASP.NET Web server.
IIS module name | Description |
---|---|
ASP.NET |
Enables your Web server to host ASP.NET applications. |
.NET Extensibility |
Allows changes, additions, and extensions of Web server functionality in the request pipeline, the configuration, and the user interface. |
Request Filtering |
Performs UrlScan tasks such as configuring allowed verbs and file name extensions, setting limits, and scanning for bad character sequences. |
ISAPI |
Hosts ISAPI extension DLLs. |
ISAPI Extensions |
Supports dynamic Web content development using ISAPI extensions. |
Note |
---|
In order to run ASP.NET 1.1 on Windows Server® 2008, you must also include the Metabase Compatibility module.
|
If you want your ASP.NET 1.1 applications to run in Integrated mode, you must upgrade them to ASP.NET 2.0. If you do not upgrade to ASP.NET 2.0, your ASP.NET 1.1 applications will run in Classic mode. For information about Integrated and Classic modes, see click="ja
To deploy an ASP.NET server
You can use the Web Platform Installer (Web PI) to easily install IIS, and applications that run on IIS. Because the Web PI installs the latest versions of available Web Platform offerings, with just a few simple clicks you can download and install any new tools or updates. To learn more about the Web PI, see click="ja
You can also perform this procedure by using the Windows user interface (UI) or from a command line.
To use the UI on Windows Server 2008 or Server 2008 R2-
Click Start, point to Administrative Tools, and then click Server Manager.
-
In Roles Summary, click Add Roles.
-
Use the Add Roles Wizard to add the Web server role.
For detailed instructions about how to install a default IIS 7 Web server, see click="ja
.vascript:Track('ctl00_MTCS_main_ctl00|ctl00_MTCS_main_ctl05',this);">Deploying a Static Content Server (IIS 7) -
On the Select Role Services page, note the preselected role services that are installed by default, and then select the following additional role services:
-
ASP.NET
-
.NET Extensibility
-
Request Filtering
-
ISAPI
-
ISAPI Extensions
-
ASP.NET
-
On the Summary of Features to Install page, confirm your selections, and then click Install.
-
On the Installation Results page, confirm that your installation of the Web Server (IIS) role and required role services completed successfully, and then click Close.
-
To verify that IIS installed successfully, type the following into a Web browser:
http://localhost
You should see the default IIS Welcome page.
-
Click Start, and then click Control Panel.
-
In Control Panel, click Programs, and then click Turn Windows features on or off.
-
In the Windows Features dialog box, click Internet Information Services to install the default features, and then select the following additional features:
-
ASP.NET
-
.NET Extensibility
-
Request Filtering
-
ISAPI
-
ISAPI Extensions
-
ASP.NET
-
Click OK to close the Windows Features dialog box.
-
To verify that IIS installed successfully, type the following into a Web browser:
http://localhost
You should see the default IIS Welcome page.
-
Type the following command at a Command Prompt or into a script:
Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole; WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
********************************