Hi Nicolai,
Thanks for the prtompt reply.
Last time happened to a colleague, just starting a new window at the home page. The info and content of the error is:
User Name: System
Url: /
Description: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.
Created: Wed, 15 Sep 2021 09:19 (UTC+02:00)
Machine name: DW-D014
Exception type: DBConcurrencyException
2021-09-15 09:19:42.741: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.
System.Data.DBConcurrencyException: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records.
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 Dynamicweb.Ecommerce.Orders.OrderRepository.Save(Order order)
at Dynamicweb.Ecommerce.Orders.OrderService.Save(Order order, Boolean saveOldVersion)
at Dynamicweb.Ecommerce.Frontend.Cart.CartService.SaveCart(Order cart, User user, OrderContext orderContext)
at Dynamicweb.Ecommerce.Common.Context.SetCart(Order cart, User user, OrderContext orderContext)
at Dynamicweb.Ecommerce.Frontend.Cart.CartService.LoadCart(User user, OrderContext orderContext)
at Dynamicweb.Ecommerce.Common.Context.GetCart(OrderContext orderContext)
at Dynamicweb.Ecommerce.Frontend.Cart.CartCatch.CatchCart(Int32 pageId, PageView pageView)
at Dynamicweb.Ecommerce.Frontend.EcomPageLoadNotificationSubscriber.LoadedPage(PageView pageview)
at Dynamicweb.Extensibility.Notifications.NotificationManager.Notify(String notification, NotificationArgs eventArgs)
at Dynamicweb.Frontend.PageView.Load()
at Dynamicweb.AspNet.DynamicwebHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2021-09-15 09:19:42.803: Request headers: [ "Connection", "Accept", "Accept-Encoding", "Accept-Language", "Cookie", "Host", "User-Agent", "sec-ch-ua", "sec-ch-ua-mobile", "sec-ch-ua-platform", "upgrade-insecure-requests", "sec-fetch-site", "sec-fetch-mode", "sec-fetch-user", "sec-fetch-dest" ]
2021-09-15 09:19:42.803: Request item keys: [ "DynamicwebLiveIntegrationIsIntegrationActive", "owin.Environment", "EcomCart:CustomCartContext", {}, "AspSession", "PermissionContextStack", "QubbosLiveIntegrationAddInWebServiceURI", "AspSessionIDManagerInitializeRequestCalled", "alternateUrlKey", "ExecutionTableMapper", "DWPAGEVIEW", "Dynamicweb.Environment.Web", "MS_HttpRequestMessage", "Dynamicweb.Tracking.Tracker" ]
2021-09-15 09:19:42.803: Request form: []
The ruote and the last line "Request headers" slightly changes in other errors, for instance:
2021-09-13 09:23:47.289: Request headers: [ "Connection", "Accept", "Accept-Encoding", "Accept-Language", "Cookie", "Host", "Referer", "User-Agent", "sec-ch-ua", "sec-ch-ua-mobile", "upgrade-insecure-requests", "sec-fetch-site", "sec-fetch-mode", "sec-fetch-user", "sec-fetch-dest" ]
2021-09-13 09:23:47.289: Request item keys: [ "Order.Field.Collection.SELECT * FROM EcomOrderField ORDER BY OrderFieldSort", "owin.Environment", "EcomCart:CustomCartContext", "MS_HttpRequestMessage", "AspSession", "PermissionContextStack", "QubbosLiveIntegrationAddInWebServiceURI", "AspSessionIDManagerInitializeRequestCalled", "alternateUrlKey", "ExecutionTableMapper", "DWPAGEVIEW", {}, "Dynamicweb.Environment.Web", "DynamicwebLiveIntegrationIsIntegrationActive", "Dynamicweb.Tracking.Tracker" ]
2021-09-13 01:43:59.337: Request headers: [ "Connection", "Accept", "Accept-Encoding", "Accept-Language", "Cookie", "Host", "User-Agent", "Upgrade-Insecure-Requests", "Sec-Fetch-Site", "Sec-Fetch-Mode", "Sec-Fetch-User", "Sec-Fetch-Dest" ]
2021-09-13 01:43:59.337: Request item keys: [ "DynamicwebLiveIntegrationIsIntegrationActive", "owin.Environment", "EcomCart:CustomCartContext", "MS_HttpRequestMessage", "AspSession", "PermissionContextStack", "QubbosLiveIntegrationAddInWebServiceURI", "AspSessionIDManagerInitializeRequestCalled", "alternateUrlKey", "ExecutionTableMapper", "DWPAGEVIEW", {}, "Dynamicweb.Environment.Web", "Dynamicweb.Tracking.Tracker" ]
2021-09-13 01:43:59.337: Request form: []
As well, I attach an image with errors at monitoring
Regards,
Tomas