How to debug white screen of death in ASP.NET MVC

I recently upgraded my ASP.NET MVC application from beta to version 1. And right enough, after I fixed all the links, I got a white screen of death when I pressed F5.

Any idea how to debug the white screen of death in VS 2008?

+1


a source to share


2 answers


I found several such cryptic problems enabling view compilation . This will cause some hard-to-debug problems that are not related to the default build process.



You can also connect Elmah Error Logging . It will keep a record of your exception, so you have a copy of the stack and the exception while you dig for an answer.

+4


a source


Create a new ASP.NET MVC v1 application and compare how they are configured.

I would pay special attention to web.config and global.asax.



HTHS, Charles

0


a source







All Articles