Hi DW,
I'm seeing a weird error the cart on one of our custom solutions.
I'm not sure exactly what triggers the error, and it doesn't happen everytime. I can recreate it though.
This is the error i get:
Logging 'Exception': Type: System.Data.SqlClient.SqlException Message: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 8 ("@p6"): The supplied value is not a valid instance of data type float. Check the source data for invalid values. An example of an invalid value is data of numeric type with scale greater than precision. StackTrace: at System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount) at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at Dynamicweb.eCommerce.Orders.Order.SaveOrder(String IDStr, Boolean saveOldVersion) at Dynamicweb.eCommerce.Orders.Order.Save(String IDStr, Boolean saveOldVersion) at Dynamicweb.eCommerce.Products.Taxes.TaxSettingCollection.AddTaxesToOrder(Order order, Boolean addTaxesToCompleteOrder, Boolean SaveOrder) at Dynamicweb.eCommerce.Cart.Frontend.GetContent()
And i have more than one item in my cart, and i use a discount that gives 100%, (Order total amount is 0)
I cannot quite determine if this is an error in my customcode or something in DW.
Have you seen it before?
// Martin