Styling the "Page Could not be loaded"

Vote:
 

Hi,

When there is a page that EpiServer cannot find, it returns a blank page that says, 

"Page could not be loaded

The link you specified does not work. This may either be the result of temporary maintenance or an incorrect link."

Is there a way to styling this page? 

Thanks in advance

#147078
Apr 05, 2016 19:01
Vote:
 

For error pages I prefer static html pages to avoid problems. Set up in Web.config 

<httpErrors errorMode="Custom" defaultResponseMode="File" existingResponse="Replace">
<clear />
<error statusCode="404" path="Static\404.html" />
<error statusCode="500" path="Static\Error.html" />
</

Also set Episerver handling off global errors to off under applicationSettings node in web.config to avoid potential problems.

#147082
Edited, Apr 05, 2016 22:27
Vote:
 

This makes a lot more sense. Thanks!

#147083
Apr 05, 2016 22:39
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.