Asp.net Not Redirecting To Custom Error Page
Contents |
here for a quick custom error not redirecting overview of the site Help Center Detailed answers customerrors redirectmode to any questions you might have Meta Discuss the workings and policies of custom error redirect not working this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads asp.net mvc custom error page with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign
Set Custom Error Page In Web.config Mvc
up Custom error redirects not working up vote 4 down vote favorite I'm trying to ensure that no non-standard error messages are sent to a user for security reasons. Generally I have standard error messages setup and it works perfectly fine. I use these tags in the web.config:
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/Security Vulnerability/Custom errors section does not redirect 404 errors
Httperrors
Custom errors section does not redirect 404 errors [Answered]RSS 11 httperrors errormode custom replies Last post Oct 11, 2012 03:37 AM by ranijhani ‹ Previous Thread|Next Thread › customerrors mode= on not working Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply james52 None 0 Points 6 Posts Custom errors section http://stackoverflow.com/questions/16809053/custom-error-redirects-not-working does not redirect 404 errors Sep 18, 2010 10:09 AM|james52|LINK Hi, I managed to secure all applications on my server with the custom errors script section mentioned in Scott Gu's blog post. All but one website... That particular website redirects errors for all error codes to the same page, except 404 http://forums.asp.net/t/1603843.aspx?Custom+errors+section+does+not+redirect+404+errors errors. For 404 errors it shows a standard 404 error page that seems to come with IIS 7. The custom errors section looks like this: