I have recently upgraded my ASP.NET MVC application from beta to version 1. And true enough, after I fixed all the references, I got a white screen of death when I pressed F5.
Is there any idea how to debug white screen of death in VS 2008?
I have recently upgraded my ASP.NET MVC application from beta to version 1. And true enough, after I fixed all the references, I got a white screen of death when I pressed F5.
Is there any idea how to debug white screen of death in VS 2008?
I have found a few of these mysterious issues by turning on view compilation. This will catch some hard-to-debug problems that aren't caught with the default build process.
You can also hook up the Elmah error logging component. It will keep a record of your exception so you have a copy of the stack and exception while you go digging around for the answer.
Create a new ASP.NET MVC v1 application and compare how the two are setup.
I would pay special attention to the web.config and global.asax.
HTHs, Charles