How To Enable Extensions Used by Visual Studio .NET in IIS 6.0


If you install Microsoft Visual Studio .NET with Internet Information Services (IIS) 6.0 to host Web applications or XML Web services, you must also enable Active Server Pages (ASP) and FrontPage Server Extensions (FPSE). ASP and FPSE are installed with IIS. By default, ASP and FPSE are disabled, and you must enable them by using IIS Manager, the IIS administration tool.

If you install Visual Studio .NET 2002, you must also map an application extension for .tmp files.

Note You do not have to map an application extension for .tmp files when you install Visual Studio .NET 2003.

Enable the Correct Web Service Extensions in IIS 6.0

After you complete the Windows Component Update portion of the Visual Studio .NET installation, follow these steps to enable the Web service extensions:
  1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager. IIS Manager opens.
  2. Expand the computer name, and then click Web Service Extensions. The Web Service Extensions window appears on the right side of IIS Manager.
  3. Under Tasks, click Add a new Web service extension. The New Web Service Extensiondialog box appears.
  4. For Extension name, select ASP.NET v1.0.3705.
  5. Add the Aspnet_isapi.dll file to the list of required files. To do this, click Add, click Browse, click the v1.0.3705 version of Aspnet_isapi.dll (found in C:\Windows\Microsoft.NET\Framework\v1.0.3705), and then click
    Open. Click OK.
  6. Click to select the Set extension status to Allowed check box, and then click OK.
  7. Click OK.

Map .tmp Files

  1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. Right-click your Web site, click
    Properties, and click HTTP Headers.
  3. Click MIME Types, and then click
  4. For Extension, type
  5. For MIME type, type text/plain.
Important You must repeat these steps for any Web site where Web projects will be created with Visual Studio .NET 2002.


More information about enabling dynamic content functionality in IIS 6.0 is available in the product documentation. To view this documentation, visit the following Microsoft Web site:You can also access the product documentation through the IIS Manager.
For additional information about how to access this Help feature, click the following article number to view the article in the Microsoft Knowledge Base:
815127 How To Access IIS 6.0 Help Documentation

Article ID: 329473 - Last Review: Jul 30, 2008 - Revision: 1