|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Configure an ASP.NET 1.0 Application in IIS 6.0
By default, Microsoft Internet Information Services (IIS) 6.0 serves static content. You must explicitly enable ASP.NET content to be served, or IIS returns a 404 error. You configure IIS 6.0 to serve dynamic content by creating and enabling a Web service extension. The Web service extension maps to the ASP.NET ISAPI extension (Aspnet_isapi.dll).
When you install ASP.NET version 1.1 or version 2.0 on a server with IIS 6.0 installed, a Web service extension is automatically created. However, when you install or register ASP.NET version 1.0 on a server that has IIS 6.0 installed, the registration process does not create a Web service extension and you must create the extension manually.
To create and allow a Web service extension for ASP.NET 1.0, and to generally manage extensions for all dynamic content in IIS 6.0, use the IIS Manager.
Starting IIS Manager
First, you need to start the IIS Manager.
You must be logged on as a member of the Administrators group on the local computer to perform the following procedure (or procedures), or you must have been delegated the appropriate authority.
To start IIS Manager from the Run dialog box
On the Start menu, click Run.
In the Open box, type inetmgr and click OK.
To start IIS Manager from the Administrative Services console
On the Start menu, click Run. In the Run text box, type control panel, and then click OK.
In the Control Panel window, click Administrative Tools.
In the Administrative Tools window, click Internet Information Services.
Creating and Enabling a Web Service Extension
Now that IIS Manager is started, you are ready to create and enable a Web service extension for ASP.NET 1.0.
To create and enable a Web server extension by using IIS Manager
Expand the local computer node and click Web Service Extensions.
In the details pane, click the task Add a new Web service extension.
In the Extension name text box, type the name of the new Web service extension (such as ASP.NET v1.0), and then click Add. In the Path to file text box, type the path or click Browse to navigate to the.NET Framework version 1.0 Aspnet_isapi.dll file. Click OK.
By default, the ASP.NET ISAPI extension is installed in the following location:
The version number shown in the path indicates the version number of the ASP.NET ISAPI extension used by the application. The version of the ASP.NET ISAPI extension in turn determines which version of the runtime is used by the application.
Select the Set extension status to Allowed check box to automatically set the status of the new Web service extension to Allowed.
Click OK to add the new Web service extension.