12.18. Enabling Dynamic Content

Problem

You want to allow dynamic web applications to run on IIS.

Solution

Using a graphical user interface

To enable Active Server Pages (ASP), ASP.NET, Internet Data Connector, Server Side Includes, or WebDAV on your server, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the server node in the console tree and select Web Service Extensions.

  3. Right-click on the web service extension you want to enable and select Allow.

If the ASP.NET extension is not displayed, you have to install ASP.NET first as follows:

  1. From the Start menu, select Control Panel Add or Remove Programs.

  2. Click Add/Remove Windows Components.

  3. Select Application Server and click Details.

  4. Select ASP.NET and click OK followed by Next.

To enable a specify CGI application or ISAPI DLL to run on your server, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the server node in the console tree and select Web Service Extensions.

  3. Click the link Add a new web service extension.

  4. Type a descriptive name for the new extension.

  5. Type the full path to the CGI application or ISAPI DLL.

  6. Select the checkbox labeled Set extension status to Allowed and click OK.

To enable all CGI applications or ISAPI DLLs to run on your server, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the server node in the console tree and select Web Service Extensions.

  3. Right-click either All Unknown ISAPI Extensions ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.