Server Error in '/' Application.

Book 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: Book Not Found

Source Error:


Line 45:                 //-- Determine if book should be shown on Bascom WebSite --
Line 46:                 if (!productObj.IsOnSite(siteObj))
Line 47:                     throw new HttpException(404, "Book Not Found");
Line 48: 
Line 49:                 //int book_id = db.GetMostRecentEditionByProductID(prodid); //--get the latest version

Source File: C:\Projects\Repositories\ImprintWebsites\ImprintWebsites\book-page.aspx.cs    Line: 47

Stack Trace:


[HttpException (0x80004005): Book Not Found]
   ImprintWebsites.book_page.Page_Load(Object sender, EventArgs e) in C:\Projects\Repositories\ImprintWebsites\ImprintWebsites\book-page.aspx.cs:47
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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