Tuesday, January 8, 2008

Application_Error File not Found

I had an Application_Error in every page and the Server.GetLastError() was file not found.
The issue is I was unable to trace which file was not found. I even looked into Event Viewer but dint get any clue.
I googled and after a couple of hours got a solution from one of the forums.

The answer is when you do a debug and have the break point in Application_Error in Global.asax.cs now maximize the IE window of the application and see the status bar. It should show the file which the application was trying to retrieve. This is the file which was not found

No comments: