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 59: 					  <article>
Line 60: 						  <header>
Line 61: 							  <h3><a href="@row.routeAlias">@row.newsTitle</a></h3>
Line 62: 							  <time pubdate datetime="@row.newsDate.ToString("dd-MM-yyyy")">@row.newsDate.ToString("dd-MM-yyyy")</time>
Line 63: 						  </header>

Source File: h:\root\home\jpmendes-001\www\csrtarget\templates\pages\home.cshtml    Line: 61

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object , String ) +142
   System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +704
   CallSite.Target(Closure , CallSite , Object , String ) +185
   ASP._Page_templates_pages_home_cshtml.Execute() in h:\root\home\jpmendes-001\www\csrtarget\templates\pages\home.cshtml:61
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
   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() +73
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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