“/”应用程序初始化失败中的助推器错误。

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

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检讨书仓库跟踪信息,以敞亮休戚相关该错误以及代码中导致错误的出处的形象信息。

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

源错误:


行 22:         <uc1:BannerUserControl runat="server" ID="BannerUserControl" />
行 23:         <div class="container news-content">
行 24:             <div class="gyjt code code--small code--right" aos="zoom-in-up"><%=LmInit.SecondLmModel.CnTitle %></div>
行 25:             <div class="conn code code--small code--right" aos="zoom-in-up"><%=LmInit.SecondLmModel.EnTitle %>&nbsp;<span><%=LmInit.SecondLmModel.KeyWords %></span></div>
行 26:             <ul class="con-wrapper clearfix common-news-list code code--small code--right" aos="zoom-in-up">

ps源文件: d:\wwwroot\cqjys\web\Views\News.aspx    行: 24

仓库跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP.views_news_aspx.__RenderContent4(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\cqjys\web\Views\News.aspx:24
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   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.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   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.views_shared_sitelayout_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\cqjys\web\Views\Shared\SiteLayout.Master:17
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   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.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Control.Render(HtmlTextWriter writer) +12
   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.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   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
Baidu