Posted 9 November 2006 Tweet[RAW]
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 development engineer at Microsoft who leads exciting open source projects on the Windows Azure team. Jeff has been at Microsoft 8 years and is an alumnus of the University of Michigan.
Jeff leads the open source Windows Azure SDK and cross-platform command line tools development team at Microsoft. Offering tooling for OS X, Windows and Linux and SDKs for Node.js, Java, .NET, PHP, Python; the work is open source, licensed under the Apache 2 license.
4th & Mayor is the top-rated social app on the Windows Phone Store with thousands of five star reviews. The best foursquare experience for Windows Phone, it is powered by a Node.js backend running on Windows Azure & Amazon Web Services. Jeff Wilcox is the developer of the app.