I have a large, complicated web site, mostly written by other people. I've made some changes, and now when I try to access any page on the site (not just where my changes are), I get the error described below. While I'd like to know how to fix this problem, I'd even more like to know the general diagnostic steps I should take next in order to track down the problem - I'd like to be able to solve it myself next time. Thanks in advance for the help!
When I navigate a browser to any page on the site, I get a server error back:
Parser Error
Parser Error Message: Object reference not set to an instance of an object.
Source Error: [No relevant source lines]
I checked the event log on the server, and got some slightly more detailed information:
Event code: 3006
Event message: A parser error has occurred.
Exception information:
Exception type: HttpException
Exception message: Object reference not set to an instance of an object.
Stack trace:
at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)