“/”应用程序中的服务器错误。

未将对象引用设置到对象的实例。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:


行 13:          
行 14:                     %>
行 15:       <% System.Data.DataTable getseo = new ZhPcb.BLL.category().GetlistMark(0, "id="+news.category_id, "id asc").Tables[0];
行 16:         if (getseo.Rows.Count > 0)
行 17:         {

源文件: d:\wwwroot\云顶集团yd1233pcba\wwwroot\newsDetail.aspx    行: 15

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP.newsdetail_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\云顶集团yd1233pcba\wwwroot\newsDetail.aspx:15
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +114
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +9008


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.6.1055.0