Server Error in '/' Application.

Column 'Finish' does not belong to table .

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.ArgumentException: Column 'Finish' does not belong to table .

Source Error:


Line 222:            details.PromoFront = bool.Parse(dr["PromoFront"].ToString());
Line 223:            details.PromoDept = bool.Parse(dr["PromoDept"].ToString());
Line 224:            details.Finish = dr["Finish"].ToString();
Line 225:            details.Matreial = dr["Material"].ToString();
Line 226:            details.Type = dr["Type"].ToString();

Source File: d:\Plesk\Vhosts\cs-coaches.co.uk\httpdocs\App_Code\CatalogAccess.cs    Line: 224

Stack Trace:


[ArgumentException: Column 'Finish' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +3107757
   System.Data.DataRow.get_Item(String columnName) +18
   CatalogAccess.GetProductDetails(String productId) in d:\Plesk\Vhosts\cs-coaches.co.uk\httpdocs\App_Code\CatalogAccess.cs:224
   Product.Page_Load(Object sender, EventArgs e) in d:\Plesk\Vhosts\cs-coaches.co.uk\httpdocs\Product.aspx.cs:16
   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.4654.0