Hi everybody,
I have a recurring problem, which only happens "sometimes", but when it occurs, it causes the entire DynamicWeb site to crash for a while (until IIS manages to get back on its feet). I have attached a PDF-printout of the error, which is displayed in the browser.
I also saw the following three entries in the error log around the same time:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 09-09-2015 15:59:59
Event time (UTC): 09-09-2015 13:59:59
Event ID: b029232477cb4d989f42fa2f3b660aff
Event sequence: 24
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-130862807157239398
Trust level: Full
Application Virtual Path: /
Application Path: E:\dynamicweb.net\Solutions\vindereklame.net.dynamicweb.dk\Application\
Machine name: DCMS-D402
Process information:
Process ID: 3008
Process name: w3wp.exe
Account name: IIS APPPOOL\ASP.NET v4.0
Exception information:
Exception type: InvalidOperationException
Exception message: This SqlTransaction has completed; it is no longer usable.
at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Dynamicweb.DataManager.Dispose(Boolean disposeManagedObjects)
at Dynamicweb.DataManager.Dispose()
at Dynamicweb.eCommerce.Orders.OrderLineCollection.Save(String OrderID)
at Dynamicweb.eCommerce.Orders.Order.SaveOrder(String IDStr, Boolean saveOldVersion)
at Dynamicweb.eCommerce.Orders.Order.Save(String IDStr, Boolean saveOldVersion)
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.SaveCart()
at Dynamicweb.eCommerce.Common.Context.SetCart(Order cart)
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.LoadCart()
at Dynamicweb.eCommerce.Common.Context.get_Cart()
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.CatchCart(Int32 pageId, PageView Pageview)
at Dynamicweb.eCommerce.Frontend.EcomPageLoadNotificationSubscriber.LoadedPage(PageView page)
at Dynamicweb.Frontend.PageView.SetID()
at Dynamicweb.Frontend.PageView.Load()
at Dynamicweb.Frontend.PageviewControl.get_Pageview()
at Dynamicweb.Frontend.PageviewControl..ctor()
at Dynamicweb.Admin.DefaultAspx.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://teenstyle.dk/Default.aspx?ID=3748
Request path: /Default.aspx
User host address: 93.160.86.123
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\ASP.NET v4.0
Thread information:
Thread ID: 18
Thread account name: IIS APPPOOL\ASP.NET v4.0
Is impersonating: False
Stack trace: at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Dynamicweb.DataManager.Dispose(Boolean disposeManagedObjects)
at Dynamicweb.DataManager.Dispose()
at Dynamicweb.eCommerce.Orders.OrderLineCollection.Save(String OrderID)
at Dynamicweb.eCommerce.Orders.Order.SaveOrder(String IDStr, Boolean saveOldVersion)
at Dynamicweb.eCommerce.Orders.Order.Save(String IDStr, Boolean saveOldVersion)
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.SaveCart()
at Dynamicweb.eCommerce.Common.Context.SetCart(Order cart)
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.LoadCart()
at Dynamicweb.eCommerce.Common.Context.get_Cart()
at Dynamicweb.eCommerce.Frontend.Cart.CartCatch.CatchCart(Int32 pageId, PageView Pageview)
at Dynamicweb.eCommerce.Frontend.EcomPageLoadNotificationSubscriber.LoadedPage(PageView page)
at Dynamicweb.Frontend.PageView.SetID()
at Dynamicweb.Frontend.PageView.Load()
at Dynamicweb.Frontend.PageviewControl.get_Pageview()
at Dynamicweb.Frontend.PageviewControl..ctor()
at Dynamicweb.Admin.DefaultAspx.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
----------------------------------------------------------------------------------------------------------------------------- FOLLOWING ENTRY:
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1/ROOT
Process ID: 3008
Exception: System.InvalidOperationException
Message: This SqlTransaction has completed; it is no longer usable.
StackTrace: at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Dynamicweb.DataManager.Dispose(Boolean disposeManagedObjects)
at Dynamicweb.DataManager.Finalize()
----------------------------------------------------------------------------------------------------------------------------- FOLLOWING ENTRY:
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.Commit()
at Dynamicweb.DataManager.Dispose(Boolean)
at Dynamicweb.DataManager.Finalize()
This is the current DW information:
Content version | 20.5.1.19 |
Assembly versions |
Dynamicweb.dll 8.5.1.19
8.5.1.19 Dynamicweb, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
Dynamicweb.Admin.dll 8.5.1.19
Dynamicweb.Admin, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
Dynamicweb.Controls.dll 8.5.1.19
Dynamicweb.Controls, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null
|
Build date | ma, 30 mar 2015 15:54 |
.NET Runtime version | v4.0.30319 (4.0.30319.34209) (NP: 34209) |
Application bit version | 32Bit |
OS type | x86 (Microsoft Windows NT 6.2.9200.0) |
The solution is hosted with HostNordic as a dedicated custom server, however I believe the custom code does not play a role in this case.