Group: Forum Members
Last Active: Sat 3 Nov 2018
Posts: 192,
Visits: 5,220
|
Hi, we seem to be getting the following error frequently. Any ideas?
----------------------------------------------------------------------------- >> URL:http://www.mtmc.co.uk/Product.aspx?ProductID=58108&CategoryID=12732401&strParent=73,12732400&L=1 >> Page: ----------------------------------------------------------------------------- >> 30/09/2011 15:42:01 >> 180.76.5.165 >> DESCRIPTION: System.InvalidCastException: Conversion from type 'DBNull' to type 'Boolean' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToBoolean(Object Value) at BasketBLL.GetCouponDiscount(String strCouponCode, String& strCouponError, String& strCouponType, Double& numCouponValue) at BasketBLL.CalculateCoupon(String strCouponCode, String& strCouponError, 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)
==================================================
|