IIS Notes
- To configure IIS5 to handle all extensions (useful for CMS applications where data is linked with a URL in the database), add the following extension mapping:
- Executable: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
- Extension: .*
- Limit Verbs to GET
- Uncheck "Verify that file exists."
IIS6 has a separate list for wildcard extension mapping, so you just have to create one for C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll.
Using this will disable the Default Documents, so you should make sure that your application handles this.
- For extra fun, if you're adding the above option to IIS5 (on XP), you can't use the IIS6 management console because it will tell you that ".*" is in the wrong format. You'll need to use the IIS5 manager to do this.
- On Windows XP, ASP.Net runs as COMPUTERNAME\ASPNET by default. This is generally fine, but, for example, won't allow you to query Active Directory. To make ASP.Net run as Local Service, you need to change the one line in machine.config from:
<processModel autoConfig="true" />to:<processModel autoConfig="true" userName="System" />





Post a Comment
To post a comment to this page, login below: