Try our conversational search powered by Generative AI!

Error handling in CMS 6 R2



In my CMS 6 R2 project, I want to use Episerver default error page, so I have changed the configuration to globalErrorHandling = "On" in episerver.config and <customerrors mode="On" /> in web.config, however i still get IIS7 default error page when trying to surf to a page that doesn't exist. (I have refreshed many times and even ran iisreset) The only thing I've noticed is that there's a custom Episerver text above the exception messages when they occur, but this is not enough.

Is there anything else I need to change/configure?


Nov 08, 2011 14:14

Hi Kenia

I would check out ErrorHandler on Does all the configuration for you and let's you easily create your own custom error pages for 404, 500 etc.

Hope this helps.


Nov 08, 2011 14:25


Thanks for your reply.
I've tried to download the package, but the link to the Project Site in coderesort seems to be broken...?


Nov 08, 2011 14:38

Yeah you need to install it through NuGet for now (see

Nov 08, 2011 14:40

Try to set errorMode="Custom" in the httpErrors element since you are running IIS7. It's the IIS7 version of IIS6 customErrors sort of...

Nov 08, 2011 23:04

Hi guys and thanks for your replies. Actually, Frederik i didn't install the module although it would have been the best solution, but our project leader said we need a simple solution for this, since the client doesn't want custom error pages, so episervers default will do.
Johan, your suggestion worked! That was one great link you pointed me to.


Nov 09, 2011 9:18
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.