An error occurred while attaching module (Dynamicweb.Frontend.Content)
System.IndexOutOfRangeException: ProductVatGroupID
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.Products.ProductVatGroup.Fill(IDataReader dr)
at Dynamicweb.Ecommerce.Products.ProductVatGroup.get_CachedVatGroups()
at Dynamicweb.Ecommerce.Products.ProductVatGroup.GetVatGroupsByProduct(String productId, String variantId)
at Dynamicweb.Ecommerce.Products.Product.GetVatgroupId(String vatCountryCode)
at Dynamicweb.Ecommerce.Products.Product.GetVatGroup(String vatCountryCode)
at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Boolean isRecursiveCall, Lazy`1 categoryFieldSorting, Int32 orderLineOfProductCount, RenderingContext renderingContext, String unitId)
at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, String unitId)
at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender()
at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent()
at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)
System.IndexOutOfRangeException: ProductVatGroupID 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.Products.ProductVatGroup.Fill(IDataReader dr) at Dynamicweb.Ecommerce.Products.ProductVatGroup.get_CachedVatGroups() at Dynamicweb.Ecommerce.Products.ProductVatGroup.GetVatGroupsByProduct(String productId, String variantId) at Dynamicweb.Ecommerce.Products.Product.GetVatgroupId(String vatCountryCode) at Dynamicweb.Ecommerce.Products.Product.GetVatGroup(String vatCountryCode) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, Template template, Int32 loopCounter, Boolean renderRelated, String productUrl, Int32 quantity, Int32 wishListId, Boolean renderPublicList, Boolean isRecursiveCall, Lazy`1 categoryFieldSorting, Int32 orderLineOfProductCount, RenderingContext renderingContext, String unitId) at Dynamicweb.Ecommerce.Frontend.Renderer.RenderProduct(Product product, Boolean extendedProperties, String unitId) at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender() at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent() at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)