Asp.net Mvc Razor Error.cshtml
Something bad happened."); } } Will produce this error The missing part of the puzzle is to turn on Custom Errors. Did the Chinese population really resort to cannibalism during the reign of Mao? This will actually produce a 400 (Bad Request) response so you can either add a specific error page for this or set up a default like so:
Page not found Sorry about this.