IIS 7.5
Windows 7 64-bit
.NET 4.0
I have a .NET 4.0 site in IIS 7.5. The Default Document is set to home.aspx.
If the application pools managed pipeline mode is set to "Classic" http://localhost/mysite displays the following error
Server Error in '/mysite' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /mysite
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
If I go to http://localhost/mysite/home.aspx, the site displays correctly.
If I use "Integrated" as the managed pipeline, the site displays correctly using either path.
I have tried the EnableExtensionlessUrls fix for earlier IIS versions and also to put the default document information directly in the web.config. Neither of these worked for the "Classic" pipeline mode.
Any idea why this is happening?