ログで、「。」がある場合に気付きました。.net 4 統合 apppool に存在しない URL の最後に、iis 7.5 はプリセット 404 URL を表示しませんが、デフォルトの見つからないページを表示します。
iis と asp.net の両方の設定にカスタム 404 URL があります。存在しない他の URL でも問題なく動作します。
サイトは、asp.net Web フォームで .net 4 ルーティングを使用します。私の知る限り、「site.com/djfdhfhgfhgfggfff」のようなランダムな URL を試しても、ルーティングとは関係ありません。挙動は変わりません。
誰もがこのようなことを経験しましたか?
エラーはasp.netから来ているようです。それは読む
Server Error in '/' 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: /etc.
更新: トレース ログを実行したところ、global.asax がそれをスローしているように見えます。
MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName global.asax
Notification 1
HttpStatus 404
HttpReason Not Found
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification BEGIN_REQUEST
ErrorCode The operation completed successfully. (0x0)