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:


Line 9:      <title>
Line 10:         <%=page_title%></title>
Line 11:     <meta name="keywords" content="<%=news.n_keyword %>" />
Line 12:     <meta name="description" content="<%=UseHelp.LeftX(news.n_desc,130) %>" />
Line 13:     <link href="css/css.css" rel="stylesheet" type="text/css" />

Source File: d:\new\zydsen\a004_fabu\newsdetail.aspx    Line: 11

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.newsdetail_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\new\zydsen\a004_fabu\newsdetail.aspx:11
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   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) +1386


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
推一把28推百度