Knowledgebase
How to add Custom Errors in WSP (WebsitePanel)
Posted by - NA - on 30 November 2009 11:34 PM
|
||||
Customers using WSP (aka WebsitePanel), can create custom error pages instead of the default error pages provided by the server.
| ||||
|
Comments (1)
Evgeny Chauskey
03 January 2011 12:05 AM
Sometimes this is not enough, so after all actions of above you have to check your web.config file, <httpErrors> section of <system.webServer> (actually, all the operations have added this section, you will see there the reference to your custom error file).
So, you just add following 'errorMode' attribute to the section like this:
<httpErrors errorMode="Custom">
Default value of the attribute is "Detailed", that can make your custom error handling inefficient.
So, you just add following 'errorMode' attribute to the section like this:
<httpErrors errorMode="Custom">
Default value of the attribute is "Detailed", that can make your custom error handling inefficient.