Hi there,
I did a insert Command to add a new Cart and new Items into CartItems.
When I load now my Cart i get a exception.
What do I have to do to add by Code a Item into the Cart. What Did I wrong?
When I am logged on and add something to the cart the userid is still -1.
Thanks in advance
DotNetNuke.Services.Exceptions.PageLoadException: Der Wert für eine Decimal war zu groß oder zu klein. ---> System.OverflowException: Der Wert für eine Decimal war zu groß oder zu klein. bei System.Decimal.FCallAddSub(Decimal& d1, Decimal& d2, Byte bSign) bei System.Decimal.Add(Decimal d1, Decimal d2) bei NEvoWeb.Modules.NB_Store.CurrentCart.GetCalulatedTotals(Int32 PortalID, String VATCode, String CountryCode, String ShipType, Int32 ShipMethodID, NB_Store_CartInfo objCart) bei NEvoWeb.Modules.NB_Store.CurrentCart.GetCalulatedTotals(Int32 PortalID, Int32 ShipMethodID) bei NEvoWeb.Modules.NB_Store.CartList.Page_Load(Object sender, EventArgs e) bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- Ende der internen Ausnahmestapelüberwachung ---
I did a insert Command to add a new Cart and new Items into CartItems.
When I load now my Cart i get a exception.
What do I have to do to add by Code a Item into the Cart. What Did I wrong?
When I am logged on and add something to the cart the userid is still -1.
Thanks in advance
DotNetNuke.Services.Exceptions.PageLoadException: Der Wert für eine Decimal war zu groß oder zu klein. ---> System.OverflowException: Der Wert für eine Decimal war zu groß oder zu klein. bei System.Decimal.FCallAddSub(Decimal& d1, Decimal& d2, Byte bSign) bei System.Decimal.Add(Decimal d1, Decimal d2) bei NEvoWeb.Modules.NB_Store.CurrentCart.GetCalulatedTotals(Int32 PortalID, String VATCode, String CountryCode, String ShipType, Int32 ShipMethodID, NB_Store_CartInfo objCart) bei NEvoWeb.Modules.NB_Store.CurrentCart.GetCalulatedTotals(Int32 PortalID, Int32 ShipMethodID) bei NEvoWeb.Modules.NB_Store.CartList.Page_Load(Object sender, EventArgs e) bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Control.LoadRecursive() bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- Ende der internen Ausnahmestapelüberwachung ---