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 54:             }
Line 55:             else
Line 56:             {
Line 57:                 <p class="smalltext center"><a href="~/profile/@author.FirstName.Replace(" ", "_").Replace("/", "(slash)")&#46;html" title="@author.FirstName @author.LastName">Written by <strong>@author.FirstName @author.LastName</strong> on <strong>@data.Date.ToString("dd MMM yyyy")</strong></a></p>
Line 58:                 <br />

Source File: d:\Websites\ukanimenet\www\Manga.cshtml    Line: 56

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_Manga_cshtml.Execute() in d:\Websites\ukanimenet\www\Manga.cshtml:56
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +99
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +182
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +142


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