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 10:             Dim thisArticle As MMSite.BLL.Info.Article
Line 11:             thisArticle = MMSite.BLL.Info.Article.GetArticleByID(intArticle)
Line 12:             lblHeading.Text = thisArticle.Title
Line 13:             lblBody.Text = thisArticle.Body
Line 14:             metDescription.Attributes("name") = "description"

Source File: C:\Inetpub\vhosts\maramusic.com.au\httpdocs\Article.aspx.vb    Line: 12

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   MMSite.UI.ArticleDetails.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\maramusic.com.au\httpdocs\Article.aspx.vb:12
   System.Web.UI.Control.OnLoad(EventArgs e) +131
   System.Web.UI.Control.LoadRecursive() +65
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062