DotNetPanel / WebSitePanel custom errors do not work

~ 0 min

If IIS has been configured to show detailed errors by default custom error (404 etc) handlers will not function correctly, to resolve this edit your "web.config" file editing the "httpErrors" start tag to include the "errorMode" parameter as shown below (you will need to add the text into the existing tag) similar to below:

<httpErrors errorMode="DetailedLocalOnly">

When you view your website with this in the web.config file you should see custom errors displayed.

Average rating 0 (0 Votes)

You cannot comment on this entry