Note that there are some explanatory texts on larger screens.

plurals
  1. POIIS 7 Not Serving Default Document
    primarykey
    data
    text
    <p>We have a problem occuring on some of our developer workstations: <strong>when visiting a URL without a filename (e.g. <a href="http://localhost/" rel="noreferrer">http://localhost/</a>), IIS 7 returns a 404 error</strong>. Everyone is running Windows 7/IIS 7.5 and ASP.NET 4.0. The application pool is configured to use Classic pipeline mode.</p> <p>Default documents are enabled, and default.aspx is in the default document list.</p> <p>I enabled failed request tracing, and see this in the log:</p> <pre><code>OldHandlerName="", NewHandlerName="ExtensionlessUrl-ISAPI-4.0_64bit", NewHandlerModules="IsapiModule", NewHandlerScriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll", NewHandlerType="" </code></pre> <p>Later on, I see that this IsapiModule is rejecting the request:</p> <pre><code>ModuleName="IsapiModule", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="404", HttpReason="Not Found", HttpSubStatus="0", ErrorCode="The operation completed successfully. (0x0)", ConfigExceptionInfo="" </code></pre> <p>It looks like <strong>IIS thinks the ExtensionlessUrl-ISAPI-4.0-64bit should be handling the request</strong>. When I look at that module's configuration, it shows that it should be matching path <code>*.</code>, so I'm confused why it is matching no path.</p> <p>A Google search turns up <a href="http://forums.iis.net/t/1177076.aspx" rel="noreferrer">this post on the IIS.net forums</a> from 2005. Unfortunately, no solutions are offered, just an acknowledgement of the problem.</p> <p><strong>When I update my app pool to use integrated mode, the problem goes away.</strong> Unfortunately, it has to run in Classic mode.</p> <p><strong>What can I do to get IIS to server our default documents again?</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload