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

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

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

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

源错误:


行 211:                    <ul class="jszb-notice_list bg-light">
行 212:                        <%
行 213:                            if (Model.Count == 0)
行 214:                            {
行 215:                    %>

源文件: c:\WebApp\jszhaobiao.www\Views\Corp\ListNew.aspx    行: 213

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP.views_corp_listnew_aspx.__RenderMainContent(HtmlTextWriter __w, Control parameterContainer) in c:\WebApp\jszhaobiao.www\Views\Corp\ListNew.aspx:213
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   ASP.views_shared_sitenew_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\WebApp\jszhaobiao.www\Views\Shared\SiteNew.Master:144
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +116
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +249
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +74
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +78
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8752


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0
<comment id='IJ'><big></big></comment>
      <cite id='VxGRd'><dfn></dfn></cite><span id='ZqeB'><kbd></kbd></span>
      <q id='BF'><strike></strike></q>
        <sup id='sVOMJZMp'><strong></strong></sup><abbr id='JHm'><base></base></abbr>
          <base id='mPDOLD'><bgsound></bgsound></base><l id='DoptRpvT'><pre></pre></l>