Hi Kenia
I would check out ErrorHandler on nuget.episerver.com. Does all the configuration for you and let's you easily create your own custom error pages for 404, 500 etc.
Hope this helps.
Frederik
Hello!
Thanks for your reply.
I've tried to download the package, but the link to the Project Site in coderesort seems to be broken...?
/Kenia
Try to set errorMode="Custom" in the httpErrors element since you are running IIS7. It's the IIS7 version of IIS6 customErrors sort of...
http://www.iis.net/ConfigReference/system.webServer/httpErrors
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.
Hello!
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?
TIA,
/Kenia