Group: Forum Members
Last Active: Mon 15 Jul 2013
Posts: 14,
Visits: 153
|
I have completed the upgrade to 1.3005, and have now found there is a problem with the promotions, when one is activiated my site receives an Error and the customer is unable to access any page in the site. the following is the Error Log report
----------------------------------------------------------------------------- >> URL:http://orgasmatoys.com/Promotions.aspx >> Page: ----------------------------------------------------------------------------- >> 02/12/2011 00:15:54 >> 82.1.98.131 >> DESCRIPTION: System.InvalidCastException: Operator '=' is not defined for type 'DBNull' and type 'Integer'. at Microsoft.VisualBasic.CompilerServices.Operators.ConditionalCompareObjectEqual(Object Left, Object Right, Boolean TextCompare) at BasketBLL.CalculatePromotions(ArrayList& aryPromotions, ArrayList& aryPromotionsDiscount, Boolean blnZeroTotalTaxRate) at Templates_BasketView.LoadBasket() at Templates_BasketView.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
==================================================
----------------------------------------------------------------------------- >> URL:http://orgasmatoys.com/Customer.aspx >> Page: ----------------------------------------------------------------------------- >> 02/12/2011 00:15:58 >> 82.1.98.131 >> DESCRIPTION: System.InvalidCastException: Operator '=' is not defined for type 'DBNull' and type 'Integer'. at Microsoft.VisualBasic.CompilerServices.Operators.ConditionalCompareObjectEqual(Object Left, Object Right, Boolean TextCompare) at BasketBLL.CalculatePromotions(ArrayList& aryPromotions, ArrayList& aryPromotionsDiscount, Boolean blnZeroTotalTaxRate) at Templates_BasketView.LoadBasket() at Templates_BasketView.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
==================================================
|