Server Error in '/' Application.

Not found

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.Web.HttpException: Not found

Source Error:


Line 38:           throw new HttpException(404, "Not found");
Line 39:         //article.ViewCount++;
Line 40:         article.Save();
Line 41:         ltTitle.Text = article.Title;
Line 42:         ltDate.Text = "<i class='far fa-calendar-alt mr-2'></i>" + article.ArticleDate.ToString("dd MMMM yyyy");

Source File: c:\WebSites\PC00009_Blazing_Moon_2020\article-view.aspx.cs    Line: 40

Stack Trace:


[HttpException (0x80004005): Not found]
   article_view.LoadArticle() in c:\WebSites\PC00009_Blazing_Moon_2020\article-view.aspx.cs:40
   article_view.Page_Load(Object sender, EventArgs e) in c:\WebSites\PC00009_Blazing_Moon_2020\article-view.aspx.cs:22
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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