Server Error in '/' Application.

SanPham does not exist.

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.ApplicationException: SanPham does not exist.

Source Error:


Line 76: 			{
Line 77: 				if (!reader.IsClosed) reader.Close();
Line 78: 				throw new ApplicationException("SanPham does not exist.");
Line 79: 			}
Line 80: 		}

Source File: g:\pleskvhosts\salonxehoi.mobi\mayinhanoi.com\App_Code\SanPham.cs    Line: 78

Stack Trace:


[ApplicationException: SanPham does not exist.]
   BusinessObjects.SanPham..ctor(Int32 id) in g:\pleskvhosts\salonxehoi.mobi\mayinhanoi.com\App_Code\SanPham.cs:78
   _Default.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\salonxehoi.mobi\mayinhanoi.com\ProductsDetail.aspx.cs:78
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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