We have an ASP.NET 4.0
website which randomly throws "Object reference not set to an instance of an object"
exceptions. These errors tend to occur in spurts, and the stack trace always points to line 0 in one of the "Temporary ASP.NET Files"
, "App_Web_f0ihyyu5.3.cs"
for example. I am never able to reproduce the issue when attempting to troubleshoot it on our development server.
When these errors start occurring, clearing the temporary files seems to stop them for several days, and then they slowly start to re-occur. I'm not sure how to go about debugging this issue.