Custom Error Page does not show even though I set CustomError=“On”
问题 I am using Visual Studio 2012 with the MVC 4 Framework and would like to see the friendly error page of the shared folder, if an exception is unhandled. (I know, as a develepor I need to see the error details but I just wanted to test this setting) So far I know that adding the following code in the system.web section of web.config should do the trick <customErrors mode="On" /> Unfortunately instead of my friendly error page I get this: Server Error in '/' Application. Runtime Error