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
I have just implemented a 500 error page using the web.config, however it stops my IContentLastChanceFinder from functioning.
How do we use these together?
500 errors are not connected to "IContentLastChanceFinder "
Content finder errors are 4xx
Ok it looks like you can only use the customerrors not the additional httperrors in web.config so having a 500 page when the db cannot connect will not work properly.
also don't worry about doing anything in the umbracoconfig regarding errors as this will be ignored in favour of icontentlastchancefinder.
This works for me in the web.config
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="500" />
<error statusCode="500" path="error-500.html" responseMode="File" />
and place the error-500.html file in the site root folder, i tested it by changing the database name in web config to a non existent database and I get my html error page.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted