I don\'t know why the Response.Redirect not working properly when I deploy my code to IIS7? The white/yellow error page always get displayed instead of my Errors.aspx. But w
I had the same problem and solved it with:
HttpContext.Current.ClearError(); Response.Redirect("~/Error.aspx", false); return;