I recently needed to setup IIS in Vista (again) to support my ASP.NET & WCF development purposes. Since there are a few different things to remember when setting up IIS in Vista to support development purposes (ASP.NET, WCF, Windows Authentication, etc.) I figured others might benefit from a quick How To.
Prerequisite: Make sure the .NET 3.0+ framework is installed.
1. In Vista, go to Control Panel -> Programs and Features
2. Select the IIS Feature Checkbox
3. Select the ASP.NET Application Feature
4. Select Authentication Feature(s) You Need
5. Register WCF Handlers With IIS7
Run the following command from the command prompt to register the WCF handlers with IIS7:
"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y
That's it, you should be good to go with your ASP.NET and/or WCF development needs under Vista.
Common Error Messages
If you don't have the ASP.NET feature installed, you will get the following error message... just FYI.
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
------------------------------------------------------------------------------------------------------------------------------
Server Error in Application “DEFAULT WEB SITE/ EmployeeService “Internet Information Services 7.0
Error Summary
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Detailed Error InformationModule StaticFileModule
Aaron
http://www.churchofficeonline.com
1 comment:
Thanks! Works fine under server 2008 2 :)
Post a Comment