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 8:              myPost = BlogEngine.GetLatestPost
Line 9:  
Line 10:             lblTitle.Text += myPost.CategoryName
Line 11:             litPost.Text = myPost.Excerpt
Line 12:             lnkMore.NavigateUrl = lnkMore.NavigateUrl & myPost.PostID

Source File: D:\home\reignindustries.com\httpdocs\assets\controls\LatestPost.ascx.vb    Line: 10

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   assets_controls_LatestPost.Page_Load(Object sender, EventArgs e) in D:\home\reignindustries.com\httpdocs\assets\controls\LatestPost.ascx.vb:10
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433