When Your ASP.NET MVC Custom Error Doesn't Render...

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Thu, 17 Jun 2010 00:00:00 GMT Indexed on 2010/06/17 3:03 UTC
Read the original article Hit count: 270

Filed under:
You've put [HandleError] on your controller and you've set <customErrors mode="On"> in the web.config file. So why do you still see the yellow screen of death? I've heard various wrong explanations for this phenomena, including "it only works under IIS" and "it only works in release mode". But the custom error view does work in debug mode and it does work with the Visual Studio WebDev web server. I think the most common reason for the error view not to display is because the error view throws...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner

When Your ASP.NET MVC Custom Error Doesn't Render...

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Thu, 17 Jun 2010 00:00:00 GMT Indexed on 2010/06/17 15:13 UTC
Read the original article Hit count: 269

Filed under:
You've put [HandleError] on your controller and you've set <customErrors mode="On"> in the web.config file. So why do you still see the yellow screen of death? I've heard various wrong explanations for this phenomena, including "it only works under IIS" and "it only works in release mode". But the custom error view does work in debug mode and it does work with the Visual Studio WebDev web server. I think the most common reason for the error view not to display is because the error view throws...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner