我在http://cbt.etest.net.cn注册完用户名后,点“新考试预约”的“下一步”,就出现以下信息:
Server Error in '/WebSR' 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 104: string l_ItemNo = Profile._ItemNo;
Line 105:
Line 106: string l_ItemDesc = _DataFunc._Exams_GetItemDesc(l_ItemNo).ToString();
Line 107: Label _label = (Label)ItemDesc1.FindControl("Label_ItemDesc");
Line 108: _label.Text = l_ItemDesc; |
Source File: d:\webRoot\WebSR\Candidates\BookExam.aspx.cs Line: 106
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Candidates_BookExam.Wizard1_NextButtonClick(Object sender, WizardNavigationEventArgs e) in d:\webRoot\WebSR\Candidates\BookExam.aspx.cs:106
System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
|
Server Error in '/WebSR' 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 104: string l_ItemNo = Profile._ItemNo;
Line 105:
Line 106: string l_ItemDesc = _DataFunc._Exams_GetItemDesc(l_ItemNo).ToString();
Line 107: Label _label = (Label)ItemDesc1.FindControl("Label_ItemDesc");
Line 108: _label.Text = l_ItemDesc; |
Source File: d:\webRoot\WebSR\Candidates\BookExam.aspx.cs Line: 106
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Candidates_BookExam.Wizard1_NextButtonClick(Object sender, WizardNavigationEventArgs e) in d:\webRoot\WebSR\Candidates\BookExam.aspx.cs:106
System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
|
怎么回事?请帮忙参考一下。谢谢!