本地debug调试不出来,运行都没问题,而且项目已经上线几个月了,今天突然发现偶尔会出现如下问题Object reference not set to an instance of an objectSource 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 stace below.页面动作是点击按钮提交表单如果是固定出现某个问题就好办了。
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 stace below.页面动作是点击按钮提交表单如果是固定出现某个问题就好办了。
解决方案 »
- IIS 6 怎么才能支持Ajax
- 截取字符串ASP.NET
- jqeury 处理xml
- "AspNetPager1_PageChanged”的重载均与委托“System.EventHandler”不匹配
- 怎么实现点击按钮后label的值等待几秒后变化?
- 怎么把bool值绑定到CheckBox控件上?
- DataGrid里使用了超链接,如何设置弹出窗的大小?
- 关于一个简单权限的问题
- System.Data.OleDb.OleDbException: 无法保存;正被别的用户锁定
- asp.net mvc5 关于Repository模式的定义与调用
- !!!急!急!发布后页面偶尔提示错误,本地调试都没问题,请大家帮帮忙了。顶者有分!
- package返回带cursor的过程的问题,如何调用
postback的时候可能有object没富到值
检查每一个要参数传入或者调用的地方,记得判断非空或者合法。就不会无援五谷出现这种问题了。是平时写代码时的习惯问题。