9 November 2006
Vista ships with .NET Framework 2.0 in the box, but ASP.NET v1.1 is still fully supported if you need it-and here's how.
If you're trying to diagnose this problem, the error message you will receive without allowing v1.1 is a 404.2 – Not Found; the description is "the page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server."
Prerequisite: You have installed IIS on the machine already (Control Panel – Add/Remove Windows Features)
Run "InetMgr" (even though the Run menu's not in the Start Menu by default, you can still reach it by pressing [ Windows key ] + [ R ])
Click on your computer name in the tree, not the web site. This should be the top-most tree element. Double-click on "ISAPI and CGI Restrictions," this is an icon in the center of the screen within the IIS group.
Right-click on the ASP.NET list item entry and "Allow" it. You do not need to reset the web server.
You can also do this from an elevated command prompt using AppCmd.exe:
%windir%\system32\inetsrv\appcmd set config -section:isapiCgiRestriction /+.[path='%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll',allowed='true']
Another obvious note, within the IIS Manager, you need to specify the application pool of choice when adding a new application. There is no concept of a v1.1 "integrated" mode, so your choices with v1.1 installed are: Integrated Pipeline 2.0, Classic/ISAPI 2.0, and Classic/ISAPI 1.1.
Simply select the v1.1 application pool and you're good to go![/RAW]
Jeff Wilcox is a Software Engineer at Microsoft in the Open Source Programs Office (OSPO), helping Microsoft engineers use, contribute to and release open source at scale.