Server Error in '/' Application.

Cannot perform runtime binding on a null reference

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: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference

Source Error:


Line 25:     var newsAwards = db.Query(newsAwards_query);	
Line 26: 	
Line 27: 	Page.Title = @person.First_Name + " " + person.Last_Name;
Line 28: 	
Line 29: }

Source File: d:\sites\lrdc\people\researcher-detail.cshtml    Line: 27

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object ) +148
   System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +615
   CallSite.Target(Closure , CallSite , Object ) +264
   ASP._Page_people_researcher_detail_cshtml.Execute() in d:\sites\lrdc\people\researcher-detail.cshtml:27
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +90
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +173
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +104
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +139


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0