Hi All,
Getting the following error when click the "checkout" button from the shopping cart. Any ideas of what could be causing it? I have two sites running identical 'checkoutshipping.aspx' pages (I compared lines 33-37 in the code) and one is working fine and the other is not.
=======================================
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 33: cart = new ShoppingCart(SkinID, ThisCustomer, CartTypeEnum.ShoppingCart, 0, false);
Line 34:
Line 35: ShippingMethodCollection shippingMethods = cart.GetShippingMethods(ThisCustomer.PrimaryShippi ngAddress);
Line 36: if (shippingMethods.Count > 0)
Line 37: {