Object reference not set to an instance of an object.

C

cow.hammer

I'm sorry if this has been answered before.

Anyway, my original problem was that I had to reformat the web server
a website was hosted on. I backed up all the files (with FTP), then
posted them back up when I finished reformatting. I had to hack around
some random errors, but now I've hit a wall. My error when I try to
access the site is as follows:



Exception Details: System.NullReferenceException: Object reference
not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an
object.]
Morpheus.BasePage.AddUser_MSAccess(String sConnection)
Morpheus.BasePage.AddUser()
Morpheus.BasePage.TrackUser(Boolean bNewUser)
Morpheus.BasePage.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


Keep in mind this site was working fine before the format. Could there
be some issue with permissions that I've missed? Any help would be
appreciated.
 
A

Alex Meleta

Hi,

Just as approach: by Stack Trace your app definitely goes out of .NET Framework
to custom application (marked Morpheus.BasePage). It can be better to use
disassembler (like .net reflector, http://www.aisto.com/roeder/dotnet/) to
understand what is going on there, in "Morpheus" application that caused
this "comprehensive" exception :)

Regards, Alex
[TechBlog] http://devkids.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top