Remove a global HandleErrorAttribute filter that is configured in global.asax - doesn't change a thing.Place various debug and logging instructions inside the Error.Error500() action, but these lines are never reached./Error/Error500 works perfectly when not in the context of error redirection (i.e.Additionally, another exception occurred while executing the custom error page for the first exception. On 500 errors, the client is redirected to /Error/Error500?aspxerrorpath=/ as expected, but I get a standard ASP.NET page with the followingĮrror message instead of the custom error page:Īn exception occurred while processing your request. ![]() It turns out redirections work OK for 403, 404 but not 500. ![]() The Error controller exists and has all actions listed there. In an ASP.NET MVC 5 app, I have the following settings in the Web.config file:
0 Comments
Leave a Reply. |