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

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

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

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

源错误:


行 108:    <link href="~/Content/house_style.css" rel="stylesheet" />
行 109:    <div class="container p-3">
行 110:        <h4>项目预售信息 @(buildinfo.Value<string>("ProjectName")) - @(buildinfo.Value<string>("BuildingID"))</h4>
行 111:        <div class="line_10"></div>
行 112:        <div class="table-responsive">

源文件: d:\SoarwayWeb\wan\新版网站\wwwroot\House\BuildingInfo.cshtml    行: 110

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
   ASP._Page_House_BuildingInfo_cshtml.Execute() in d:\SoarwayWeb\wan\新版网站\wwwroot\House\BuildingInfo.cshtml:110
   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.0.30319.34248