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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object ) +145
   System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +477
   CallSite.Target(Closure , CallSite , Object ) +280
   Web.PageUI.NewsDetail.LoadPage(Object sender, EventArgs e) +3666
   Web.PageUI.DefaultPage.DefaultLPage_Load(Object sender, EventArgs e) +3448
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811


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