DotNetPanel / WebSitePanel custom errors do not work

Chris Burton
2014-12-16 22:01

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.

Tags: 404, custom, dot net panel, dotnetpanel, error, web site panel, websitepanel
Average rating: 0 (0 Votes)

You cannot comment on this entry