Problems with Pre-Release 1.4


https://forum.kartris.com/Topic1625.aspx
Print Topic | Close Window

By JDLitchfield - Fri 6 Apr 2012
I have added just one product to the database and can't add it to the cart.
The error recorded in the admin log says:-
-----------------------------------------------------------------------------
>>     06/04/2012 22:45:18
>>     DESCRIPTION:
System.InvalidCastException: Conversion from type 'DBNull' to type 'Double' is not valid.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(Object Value, NumberFormatInfo NumberFormat)
   at BasketBLL.LoadBasketItems()
   at Templates_BasketView.LoadBasket()
   at Templates_BasketView.Page_Load(Object sender, 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)

Any ideas?

Thanks
James