我正在为我们的客户维护一个网站,实际上我们已经超过一年没有对该网站进行任何更改,但是几天前通过Orchard的仪表板发布内容才停止工作。
我们联系了托管服务提供商,他们清除了事务缓存,检查了我们的特权并清除了文件服务器,但是错误仍然存在。
仪表板代码完全由果园制作,因此我们不确定如何找到原因。堆栈跟踪如下,欢迎任何建议或帮助。
Transaction not connected, or was disconnected
Exception Details: NHibernate.TransactionException: Transaction not connected, or was disconnected
[TransactionException: Transaction not connected, or was disconnected]
NHibernate.Transaction.AdoTransaction.CheckNotZombied() +70
NHibernate.Transaction.AdoTransaction.Commit() +258
Orchard.Data.TransactionManager.DisposeSession() in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Data\SessionLocator.cs:92
Orchard.Data.TransactionManager.Dispose() in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Data\SessionLocator.cs:82
Autofac.Core.Disposer.Dispose(Boolean disposing) +81
Autofac.Util.Disposable.Dispose() +36
Autofac.Core.Lifetime.LifetimeScope.Dispose(Boolean disposing) +65
Autofac.Util.Disposable.Dispose() +36
Orchard.Environment.<>c__DisplayClass7.<.ctor>b__4() in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Environment\WorkContextAccessor.cs:91
Orchard.Environment.HttpContextScopeImplementation.System.IDisposable.Dispose() in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Environment\WorkContextAccessor.cs:96
Orchard.Mvc.Routes.<ProcessRequestAsync>d__7.MoveNext() in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Mvc\Routes\ShellRoute.cs:181
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +71
System.Web.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +11
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9874041
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159``