System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 340) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at Dynamicweb.Ecommerce.Assortments.AssortmentRepository.GetAssortmentItems(String assortmentId, String languageId)
at Dynamicweb.Ecommerce.Assortments.AssortmentService.LoadAssortmentItems(String assortmentId, String languageId)
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.LazyInitValue()
at Dynamicweb.Ecommerce.Assortments.AssortmentService.InternalHasAccessToProduct(Product product, User user)
at Dynamicweb.Ecommerce.Assortments.AssortmentService.HasAccessToProduct(Product product)
at Dynamicweb.Ecommerce.Products.ProductCollection.ReFactorProductList(Boolean useAssortments)
at Dynamicweb.Ecommerce.Products.ProductCollection.Load(String query, Boolean doRefactoring, Boolean bulkFill, Boolean useAssortments)
at Dynamicweb.Ecommerce.Specialized.RelatedProductListProviders.CustomersWhoSawThisAlsoSaw.GetCollection(RelatedProductListProviderEventArgs eventArgs)
at Dynamicweb.Ecommerce.Extensibility.Provider.RelatedProductListManager.GetCollection(RelatedProductListProviderEventArgs eventArgs, String loopName)
at Dynamicweb.Ecommerce.Frontend.Renderer.RenderRelatedProductLists(Template template, RelatedProductListProviderEventArgs relatedParams, Boolean isCalledInsideRecursion, ExecutionTable currentExecutionTable)
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.RenderProduct(Product product, String unitId)
at Dynamicweb.Ecommerce.Frontend.Frontend.EcomRender()
at Dynamicweb.Ecommerce.Frontend.Frontend.GetContent()
at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)
ClientConnectionId:1935e77d-198d-46ee-845c-80f3bc4ab2c4
Error Number:1205,State:52,Class:13