Server Error in '/' Application.

Object reference not set to an instance of an object.

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: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 58:             var metaTitle = "";
Line 59:             var metaDescription = "";
Line 60:             var metaKeywords = "";
Line 61: 
Line 62:             // get the product title

Source File: C:\clcdesq\public_site\Blog\Post\ViewOne.aspx.cs    Line: 60

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   public_site.Blog.Post.ViewOne.SetMetaInformation(BlogPostBO currentBlogPost) in C:\clcdesq\public_site\Blog\Post\ViewOne.aspx.cs:60
   public_site.Blog.Post.ViewOne.OnInit(EventArgs e) in C:\clcdesq\public_site\Blog\Post\ViewOne.aspx.cs:52
   System.Web.UI.Control.InitRecursive(Control namingContainer) +390
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1631


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