HELP with error!
I have a such error:
Server Error in '/web/RABITA' 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:
Line 28:
Line 29: RABITA.WebForm1 indexObj = new WebForm1();
Line 30: lbl_nick.Text = indexObj.lbl.Text;
Line 31: // Put user code to initialize the page here
Line 32: }
Source File: f:\vs_examples\web\rabita\search.aspx.cs Line: 30
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
RABITA.search.Page_Load(Object sender, EventArgs e) in f:\vs_examples\web\rabita\search.aspx.cs:30
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
CAN ENYONE HELP ME WITH SOLVING THE PROBLEM?
|