EPiWiki.se  - EPiServer notes shared with others

Replace EPiServer Error page for IIS7

When replacing an IIS error handler I suggest to use a standard HTML page, hand written or creaed with the scheduler. So this page cant cause any recursion.

Turn off EPiServers error handler




    <customErrors defaultRedirect="MyErrorPage.htm"


Wildcard module mappings can disturb this handling, and have fallback to EPiServer standard error handling.
More concrete:
If you get EPiServer standard error page even when you had it disabled. Look in the modules section in the IIS manager then it can exists a wildcard (*) mapping module that responds with EPiServer standard error.


It is not possible to output cache an page that returns HTTP status different from 200. So this page should be very light or rendered by a scheduled job or when the editors saves the page.

Version author:
Mattias Lövström

EPiServer version