neil
01-06-2004, 04:29 AM
Its been a while since I coded in ASP, but now with ASP you get these fancy error msgs, I'm just unsure whats causing the error. Its not my code so I searched all files in the directory i was working on for "InitializeComponent()" and couldn't find anything. also what does the .cs suffix mean? is it reffereing to the compiled classes? the numbers I assume reffer to lines of code where the errors occur.
These files work online, but I'm trying to get them to work on my machine and to the best of knowledge there the latest ones.....
I've just been informed they aren't the latest ones, but if someone could still explain what the errors mean I be grateful for being enlightened. :D
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.]
Studio.navigation.InitializeComponent() in c:\inetpub\wwwroot\Studio\navigation.ascx.cs:38
Studio.navigation.OnInit(EventArgs e) in c:\inetpub\wwwroot\Studio\navigation.ascx.cs:28
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Page.ProcessRequestMain() +174
These files work online, but I'm trying to get them to work on my machine and to the best of knowledge there the latest ones.....
I've just been informed they aren't the latest ones, but if someone could still explain what the errors mean I be grateful for being enlightened. :D
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.]
Studio.navigation.InitializeComponent() in c:\inetpub\wwwroot\Studio\navigation.ascx.cs:38
Studio.navigation.OnInit(EventArgs e) in c:\inetpub\wwwroot\Studio\navigation.ascx.cs:28
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Page.ProcessRequestMain() +174