“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------未将对象引用设置到对象的实例。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。源错误:
[没有相关的源行]
源文件: E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs 行: 266 堆栈跟踪:
[NullReferenceException: 未将对象引用设置到对象的实例。]
CourseChannel_course_content.classBook() in E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs:266
CourseChannel_course_content.Page_Load(Object sender, EventArgs e) in E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs:417
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
这个是刚健的页面我什么内容都没加
--------------------------------------------------------------------------------未将对象引用设置到对象的实例。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。源错误:
[没有相关的源行]
源文件: E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs 行: 266 堆栈跟踪:
[NullReferenceException: 未将对象引用设置到对象的实例。]
CourseChannel_course_content.classBook() in E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs:266
CourseChannel_course_content.Page_Load(Object sender, EventArgs e) in E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs:417
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433
这个是刚健的页面我什么内容都没加
解决方案 »
- 树形通讯录是怎么实现的啊?
- vs2005中用Volitant.Dialogs 报错
- 今天问题特别多。。。
- 关于HttpHandler的问题
- 高分求教sql语句在DataSet中如何实现
- .net显示数据是不是只能用While reader.Read()...end while?即使只有一个记录,也要用这个循环吗?有没有别的办法(或象asp直接rs("字段
- 为什么FreeTextBox1.6.3加载后不能用??郁闷了两天了,急~~~~等
- 询问下关于Button按钮的问题()急
- 如何让复制的窗体关联正确的后台代码?
- 请教一个关于.net+c#实现聊天室功能+留言功能(要用sql-server2000),整个工程例子,可进行修改的!!
- 关于TreeView控件展开/折叠的问题
- 异常:(对 COM 组件的调用返回了错误 HRESULT E_FAIL ) 求救啊,网上N多办法都试过了。。。。。。。。。。。。
CourseChannel_course_content.Page_Load(Object sender, EventArgs e) in E:\OfficeChannel\OfficeChannel\CourseChannel\course_content.aspx.cs:417
调试运行看看page_load事件中调用了classBook()