IIS 6.0 Default Document Not Working After .NET Framework 4.0 Install/Update

less than 1 minute read

We have seen this problem happen on a windows 2003R2 server running IIS 6.0 with SiteMinder enabled (an ISAPI filter on a web site). In our last round of server patching, after the server was rebooted, the default documents for all our sites no longer worked. All requests that would return the default document (http://mysite/test/) would instead return a 404 error. In addition to the 404 we noticed the url showing in the location bar of the browser would contain "/eurl.axd/GUID" somewhere in the string. We could still go directly to a page in the browser (http://mysite/test/default.aspx) and the page would load properly.

Google found us an article that identifies the problem in detail and explains how to apply a fix for it:
http://blogs.msdn.com/b/tmarq/archive/2010/06/18/how-to-disable-the-asp-net-v4-0-extensionless-url-feature-on-iis-6-0.aspx

Just add a DWORD registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\EnableExtensionlessUrls" with a value of "0" then restart IIS to fix the issue.

Tags:

Updated: