すべての HTTP エラーに対して Azure で動作するカスタム エラー ページを作成しようとしています。
私の開発マシンではすべて正常に動作しています。Windows Azure では HTTP404 で動作しますが、まだ HTTP400 の YSOD があります。
これが私のweb.configにあるものです
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<httpErrors errorMode="Custom" existingResponse="PassThrough">
<clear />
<error statusCode="400" path="~/Error" responseMode="ExecuteURL" />
<error statusCode="401" path="~/Error" responseMode="ExecuteURL" />
<error statusCode="403" path="~/Error" responseMode="ExecuteURL" />
<error statusCode="404" path="~/Error" responseMode="ExecuteURL" />
<error statusCode="500" path="~/Error" responseMode="ExecuteURL" />
</httpErrors>
</system.webServer>
<system.web>
<customErrors mode="On" defaultRedirect="~/Error" />
.....
</system.web>
それを解決するためにどこを見るべきか考えていますか?
前もって感謝します