<system.web>
<authentication mode="Forms">
<forms loginUrl="~/LogIn.aspx" defaultUrl="~/default.aspx" protection="All">
</forms>
</authentication>
<customErrors mode="Off" defaultRedirect="~/default.aspx"></customErrors>
</system.web>
これは、動作していない web.config での私のエラー処理です。スローされた例外がある場合、default.aspxページにリダイレクトされません。
に設定defaultUrl
したから~/default.aspx
ですか?- そうでない場合、エラー処理の何が問題になっていますか?