Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
So I have this little 500.aspx page that I use for my 500 errror message page. All is well, but my problem is that underneath my cute 500 page I see a thourough Umbraco debug stack trace. My debug mode is set to false. Has anyone goten this issue before?
Have you change the settings under confi > umbracoSettings.Config and set the id for the error 500 page ?
What i usually do is have my error.aspx page checked using Header Checker Tools.
Can anybody help me out. I want to display 500 page if someone is lost connection. I tried by adding a static page on root and showing page on basis of error code. This is all working on my local environment but not on server. How can i figure out what is issue there?
When you enable 500 custom error page it catches ALL ERRORS, including exceptions on web api.
To enable 500 error page and still have exception on webapi you must edit your web.config file like this
<httpErrors errorMode="Custom" existingResponse="Replace">
<error statusCode="404" prefixLanguageFilePath="" path="/not-foun" responseMode="ExecuteURL" />
<error statusCode="500" path="Error500.html" responseMode="File"/>
Above code solve my problem
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted