Server Error in '/' 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.]
Class_Data.GetConfig(String strDomain) +154
index.Page_Load(Object sender, EventArgs e) +84
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
本地调试正常,上传后出错```解决不鸟`
--------------------------------------------------------------------------------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.]
Class_Data.GetConfig(String strDomain) +154
index.Page_Load(Object sender, EventArgs e) +84
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
本地调试正常,上传后出错```解决不鸟`
解决方案 »
- 读取excl
- javascript 定位滚动条的问题
- 这是怎么做的? 某网站提供不需要安装qq或msn就能直接登陆进去聊天,还能看到好友
- FormsAuthenticationTicket里的cookie时效和Context.Cache.Insert里的cookie时效有什么区别阿
- asp.net 访问及此事VBA组件问题
- 请高手解决一条SQL语句的问题?在线等!!
- 请写过聊天室的朋友进来帮忙分析一下,谢谢离/.
- 如何通过代码动态改变鼠标样式
- 我自己做了一个 activex control,现在在asp.net中想调用这个控件的一个自定义属性(返回一个值)应该如何做??
- 工商银行网上银行新B2C在线支付接口开发验签失败
- 上传文件过大出现次错误,"Event message: Post 大小超出允许的限制。" ,如何解决
- [绝对]高手,[绝对]简单问题,[绝对]DataSet数据处理
注意
Class_Data.GetConfig(String strDomain)
这个函数中有试图访问空对象的异常
是不是这个的问题