Object reference not set to an instance of an object.

G

gnewsham

When attempting to run an application on localhost I get the following
error, it is not very specific so I am not sure where or how to start
looking for the problem.

It is current a blank webform which inherits template.vb file which in
turn builds a page calling ascx files to load the nav bar, footer etc.
I have done this before with no problem and am using basically the same
code so am rather confused, any assistance or pointers of how to
troubleshoot this would be appreciated.

Server Error in '/MyApp' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

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.]
Withdraw.withdraw_template.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Page.ProcessRequestMain()
 

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

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top