I had to take on the MVC 3 project from another developer. One of the first things he did was to stop the yellow screen of death so that all exceptions were written only to a file. Now you get only a general message that an error has occurred.
I would like to turn it on again (since it is still very boring to check the log files all the time) - how to do it.
I checked through web.config, but I do not see where this is happening.
I tried to make customerrors = off, but it did nothing. Also removed the global error handling attribute, did nothing.
Upon further refinement, it seems that an exception is thrown in the controller, I get a yellow death screen, but if it appears in the (razor) view, I get a standard general error.
Here you can see web.config here. You can see global.asax here.
source share