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 81:    int arttir=0;
Line 82: 
Line 83:    arttir=Convert.ToInt32(deger3333.Goruntulenme)+1;
Line 84: 
Line 85:                 db.Execute("update Blog set Goruntulenme=@0  where BlogID=@1",arttir,kayitID);

Source File: d:\vhosts\pumalas.com.tr\httpdocs\BlogDetay.cshtml    Line: 83

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object ) +115
   System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +679
   CallSite.Target(Closure , CallSite , Object ) +223
   ASP._Page_BlogDetay_cshtml.Execute() in d:\vhosts\pumalas.com.tr\httpdocs\BlogDetay.cshtml:83
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +73
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +154
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +80
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +119


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