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

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

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

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

源错误:


行 114:    <link href="~/Content/house_style.css" rel="stylesheet" />
行 115:    <div class="container pt-3 pb-3">
行 116:        <h4>项目预售信息 @(buildinfo.Value<string>("ProjectName")) - @(buildinfo.Value<string>("BuildingID"))</h4>
行 117:        <div class="table-responsive">
行 118:            <table width="100%" class="table tablestyles" cellpadding="0" cellspacing="0">

源文件: d:\SoarwayWeb\网站\新版\wwwrootNews\House\BuildingInfo.cshtml    行: 116

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP._Page_House_BuildingInfo_cshtml.Execute() in d:\SoarwayWeb\网站\新版\wwwrootNews\House\BuildingInfo.cshtml:116
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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