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 73: <div>
Line 74: 
Line 75:                 @if (item.pagetype.ToString() == "1")
Line 76:                 {
Line 77:                    <section class="inner-header-1 animated parallax-1" data-animation="fadeInUp" data-animation-delay="100">

Source File: g:\pleskvhosts\drsaranshjain.com\drskjain.com\Page.cshtml    Line: 75

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object ) +143
   System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +679
   CallSite.Target(Closure , CallSite , Object ) +252
   ASP._Page_page_cshtml.Execute() in g:\pleskvhosts\drsaranshjain.com\drskjain.com\Page.cshtml:75
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   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.4700.0