执行当前Web请求期间生成了未处理的异常的信息可以使用下面的异常堆栈跟踪信息确定有关异常原因。 15
[NullReferenceException:未将对象引用设置到对象的实例。]WebRegister.cWebRegister.IsToRegister()+76Web...
[NullReferenceException: 未将对象引用设置到对象的实例。]
WebRegister.cWebRegister.IsToRegister() +76
WebRegister.login.preLogin.btnAction() +238
WebRegister.login.preLogin.Button1_Click(Object sender, EventArgs e) +29
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
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
怎么回事啊 展开
WebRegister.cWebRegister.IsToRegister() +76
WebRegister.login.preLogin.btnAction() +238
WebRegister.login.preLogin.Button1_Click(Object sender, EventArgs e) +29
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
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
怎么回事啊 展开
2个回答
展开全部
你的代码里有对象为null了,导致了这个bug,
错误告诉你了,在
WebRegister.cWebRegister.IsToRegister这个方法里出的异常,在第76行,你看下那个代码吧
错误告诉你了,在
WebRegister.cWebRegister.IsToRegister这个方法里出的异常,在第76行,你看下那个代码吧
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2014-06-23
展开全部
[NullReferenceException: 未将对象引用设置到对象的实例。]
Neton.EIP.Workflow.WorkflowPage.Page_Load(Object sender, EventArgs e) in E:\FinanceNew\NewDev\Finance5.0NewContract\FinanceWeb\Workflow.aspx.cs:77
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
Neton.EIP.Workflow.WorkflowPage.OnLoad(EventArgs e) in E:\FinanceNew\NewDev\Finance5.0NewContract\FinanceWeb\Workflow.aspx.cs:113
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Neton.EIP.Workflow.WorkflowPage.Page_Load(Object sender, EventArgs e) in E:\FinanceNew\NewDev\Finance5.0NewContract\FinanceWeb\Workflow.aspx.cs:77
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
Neton.EIP.Workflow.WorkflowPage.OnLoad(EventArgs e) in E:\FinanceNew\NewDev\Finance5.0NewContract\FinanceWeb\Workflow.aspx.cs:113
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询