Reputation: 167
I have an ASP.NET MVC project which is published on Windows Azure. If some unhandled exception occurs while I run this project locally - it shows a special "Death page" also known as "Exception Details Yellow Screen" with a full stack trace, piece of code where the error occured, etc. However if I run in production mode - it only shows the default error view placed in ../Views/Shared/Error.cshtml
The question is: how can I show the same "Yellow Screen" in production mode too?
Upvotes: 2
Views: 584
Reputation: 6876
What you are describing here is the default asp.net behavior (not specific to windows azure). In order to see the error message you would have to turn off custom errors in your web.config and republish.
Upvotes: 2