500 Error Page
I am trying to display a custom error page for a Sitefinity 5.0.2523.0 SE install on a Windows Server 2008 running IIS 7. I tried this:
<
customErrors
mode
=
"RemoteOnly"
defaultRedirect
=
"~/error"
>
<
error
statusCode
=
"404"
redirect
=
"~/page-not-found"
/>
<
error
statusCode
=
"500"
redirect
=
"~/error"
/>
</
customErrors
>
<
httpErrors
>
<
remove
statusCode
=
"404"
subStatusCode
=
"-1"
/>
<
error
statusCode
=
"404"
prefixLanguageFilePath
=
""
path
=
"/page-not-found"
responseMode
=
"ExecuteURL"
/>
<
remove
statusCode
=
"500"
subStatusCode
=
"-1"
/>
<
error
statusCode
=
"500"
prefixLanguageFilePath
=
""
path
=
"/error"
responseMode
=
"ExecuteURL"
/>
</
httpErrors
>
Erik,
I saw some positive feedback regarding the custom errors method.
Yeah, I saw that before. I don't think they are really doing anything that I'm not. I haven't had an issue with extensions and I think that is all that is different.