I have an MVC 4 app, using a custom HandleErrorAttribute to handle only custom exceptions. I would like to intercept the default 404 and other non-500 error pages and replace t
To me, it works deleting the default Error.cshtml file, now it is taking the custom Error defaultRedirect page in Web.config.