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

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

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

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

源错误:


行 10: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
行 11: <meta http-equiv="x-ua-compatible" content="ie=edge">
行 12: <title>CREATOR快捷 - <%= dr1["SortName"].ToString() %> - <%= dr["Title"].ToString()%></title>
行 13: <meta name="Keywords" content="<%= dr["Title"].ToString()%>,天誉创高,智能中央控制系统,智能会议系统,电子会标,同声传译,触摸屏,AV矩阵,VGA矩阵,RGB矩阵,HDMI高清矩阵,led显示屏,中控" />
行 14: <meta name ="Description" content="CREATOR快捷官网新闻中心提供企业动态,产品新闻等资讯。<%= dr["Title"].ToString()%>">

源文件: d:\wwwroot\creator2013\wwwroot\News\Show.aspx    行: 12

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP.news_show_aspx.__Render__control5(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\creator2013\wwwroot\News\Show.aspx:12
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.HtmlControls.HtmlTitle.Render(HtmlTextWriter writer) +60
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.news_show_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in d:\tmp_aspnet\root\0ba61cbe\ce8339d3\App_Web_e5pmh35r.5.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer) +21
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.news_show_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\tmp_aspnet\root\0ba61cbe\ce8339d3\App_Web_e5pmh35r.5.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


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