IIS 7.5
Windows 7 64-bit
.NET 4.0
IIS 7.5 に .NET 4.0 サイトがあります。既定のドキュメントは、home.aspx に設定されています。
アプリケーション プールのマネージド パイプライン モードが「クラシック」に設定されている場合、 http://localhost/mysiteに次のエラーが表示されます。
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
http://localhost/mysite/home.aspxにアクセスすると、サイトが正しく表示されます。
管理パイプラインとして「統合」を使用すると、サイトはどちらのパスを使用しても正しく表示されます。
以前のバージョンの IIS に対して EnableExtensionlessUrls の修正を試み、また既定のドキュメント情報を web.config に直接配置しようとしました。これらはどちらも、「クラシック」パイプライン モードでは機能しませんでした。
なぜこれが起こっているのですか?