Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 250215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:29:33+00:00 2026-05-11T21:29:33+00:00

I have a large, complicated web site, mostly written by other people. I’ve made

  • 0

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)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:29:33+00:00Added an answer on May 11, 2026 at 9:29 pm

    1) The source error is not showing any lines or line numbers so make sure you are doing a debug build. Also, ensure that you have under in you web.config file.

    2) Check your global.asax file … something is probably wrong there. You have a null reference exception and it’s probably happening in any code you’ve changed in global.asax.cs.

    EDIT: To debug your global.asax.cs file, it’s often easiest to place a System.Diagnostics.Debugger.Launch() call in your Session_Start event handler. Add the handler if you don’t have one.

    3) Check to make sure that ASP.NET is installed correctly. There is a tab named ASP.NET in the properties of your virtual directory in IIS. Check the version. If it’s not installed correctly, run “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i”.

    4) If you are using VS, then go CTRL-ALT-E (or Debug/Exceptions menu), and check the Thrown option for Common Language Runtime Exceptions, so VS will break whenever a CLR exception is thrown, then you can see exactly where it’s happening. Launch the application in the debugger and find out what’s going on.

    5) If the exception is thrown outside of your code, check the stack trace to find out where it’s coming from.

    6) If you have to go much deeper, and you know it’s happening in .NET but you don’t know why, enable .NET Framework source code stepping (it’s in Options/Debug someplace if you are using VS2008 SP1). If you are using an earlier version, you’ll have to look up how to enable the .NET Framework symbols etc…. You shouldn’t have to do this though, just adding it as the “next step”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a large scale Java web application project. I am considering integrating some
I have large database table, approximately 5GB, now I wan to getCurrentSnapshot of Database
I'm trying to create a faster query, right now i have large databases. My
I'm writing a web app that's complicated enough that it needs a large family
I have spent some months working on a web application and we're come close
I have a project that will involve heavy automation of complicated web pages. I
OK, so I have a large and complicated upcoming events PHP module that I
My code that I have is quite large and complicated so I won't waste
.NET 3.5, C# I have a web app with a search feature. Some of
I have a large block of JavaScript that is wrapped in a try-catch block.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.