I have an ASP.Net website and I want to use a custom error page. I put the following code in my web.config
so i finished one of my ASP.NET-projects and 开发者_开发技巧want to deploy it on the productive server. And suddenly WHOOM: Runtime error!
As is suggestedelsewhere, I am using redirectMode = Resp开发者_如何学ConseRewrite in my custom error configuration so my custom error page can access the exception info. This has worked like a charm f
I have a [HandleError] attribute specified atop one of my controllers, specifying a View that I\'d like to render in the event of an error.