Follow the instructions in the following Microsoft article and it should do the job.
HOW TO: Enable Extensions Used by Visual Studio .NET in IIS 6.0
The information in this article applies to:
Microsoft Internet Information Services version 6.0
Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
Microsoft Visual Studio .NET (2002), Professional Edition
Microsoft Visual Studio .NET (2002), Academic Edition
This article was previously published under Q329473
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 install Visual Studio .NET, follow these steps to enable the Web service extensions:
- Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager. IIS Manager opens.
- Expand the computer name, and then click Web Service Extensions. The Web Service Extensions window appears on the right side of IIS Manager.
- Under Tasks, click Add a new Web service extension. The New Web Service Extension dialog box appears.
- For Extension name, select ASP.NET v1.0.3705.
- 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.
- Click to select the Set extension status to Allowed check box, and then click OK.
- Click OK.
Map .tmp Files
- Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Right-click your Web site, click Properties, and click HTTP Headers.
- Click MIME Types, and then click New.
- For Extension, type .tmp.
- 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.
Another cause might be that ASP.NET mappings are not correct. If so, try this:
- Run the Aspnet_regiis.exe utility: Click Start, and then click Run.
- In the Open text box, type cmd, and then press ENTER.
- At the command prompt, type the following, and then press ENTER: “%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe” -i
In this path, version represents the version number of the .NET Framework that you installed on your server. You must replace this placeholder with the actual version number when you type the command.
If you reinstalled IIS, you must also do this:
- Register the Aspnet_isapi.dll: Click Start, and then click Run.
- In the Open text box, type the following, and then press ENTER: regsvr32 %windir%\Microsoft.NET\Framework\version\aspnet_isapi.dll
Regsvr32 returns the results of the registration.