Hi,
When I try to display a product catalogue module, either product list or product details, I get this exception :
System.IndexOutOfRangeException: DiscountAmountProductFieldName at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) at System.Data.SqlClient.SqlDataReader.get_Item(String name) at Dynamicweb.Ecommerce.Orders.Discounts.Discount.Fill(IDataReader reader) at Dynamicweb.Ecommerce.Orders.Discounts.Discount.get_CachedDiscounts() at Dynamicweb.Ecommerce.Orders.Discounts.Discount.GetOrderLineDiscounts() at Dynamicweb.Ecommerce.Orders.Discounts.DiscountInfoCollection.LoadDiscounts() at Dynamicweb.Ecommerce.Products.Product.DiscountMatrix() at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Int32 orderLineOfProductCount) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties) at Dynamicweb.Ecommerce.Frontend.Frontend.RenderProduct(Product product) at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender() at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent() at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)
Any idea where that comes from ?
Thanks