“/”应用程序中的服务器错误。

事务(进程 ID 288)与另一个进程被死锁在 锁 | 通信缓冲区 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 事务(进程 ID 288)与另一个进程被死锁在 锁 | 通信缓冲区 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SqlException (0x80131904): 事务(进程 ID 288)与另一个进程被死锁在 锁 | 通信缓冲区 资源上,并且已被选作死锁牺牲品。请重新运行该事务。]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3318656
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +334
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4289
   System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) +255
   System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) +298
   System.Data.SqlClient.SqlDataReader.Read() +43
   NHibernate.Driver.NHybridDataReader.Read() +30
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +1346
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +217
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +160

[GenericADOException: could not execute query
[ select top 4 new0_.New_ID as New1_0_, new0_.ClassID as ClassID0_, new0_.ParentID as ParentID0_, new0_.Type as Type0_, new0_.TitleSN as TitleSN0_, new0_.Title as Title0_, new0_.SubTitle as SubTitle0_, new0_.Color as Color0_, new0_.Source as Source0_, new0_.Author as Author0_, new0_.Tags as Tags0_, new0_.Flags as Flags0_, new0_.Images as Images0_, new0_.ArrayImages as ArrayIm14_0_, new0_.ArrayFiles as ArrayFiles0_, new0_.LinkUrl as LinkUrl0_, new0_.Money as Money0_, new0_.Descriptions as Descrip18_0_, new0_.Contents as Contents0_, new0_.Text00 as Text20_0_, new0_.Text01 as Text21_0_, new0_.Text02 as Text22_0_, new0_.Text03 as Text23_0_, new0_.Text04 as Text24_0_, new0_.Text05 as Text25_0_, new0_.Text06 as Text26_0_, new0_.Text07 as Text27_0_, new0_.Text08 as Text28_0_, new0_.Text09 as Text29_0_, new0_.TimeBegin as TimeBegin0_, new0_.TimeEnd as TimeEnd0_, new0_.IsItalic as IsItalic0_, new0_.IsBold as IsBold0_, new0_.HtmlTemplate as HtmlTem34_0_, new0_.Orders as Orders0_, new0_.Hits as Hits0_, new0_.IsStatus as IsStatus0_, new0_.IsHot as IsHot0_, new0_.IsHtml as IsHtml0_, new0_.IsComment as IsComment0_, new0_.SeoKeywords as SeoKeyw41_0_, new0_.SeoDescription as SeoDesc42_0_, new0_.CreateTime as CreateTime0_, new0_.UpdateTime as UpdateTime0_, new0_.MarkName as MarkName0_, new0_.UserID as UserID0_, new0_.AdminID as AdminID0_, new0_.Languages as Languages0_ from BtxCMS_New new0_ where (new0_.ClassID in (select classclass1_.Class_ID from BtxCMS_Class_Class classclass1_ where classclass1_.ParentPath like '%,328,%')) and (new0_.Flags like '%h%') and new0_.IsStatus=0 order by new0_.IsHot DESC, new0_.Orders ASC, new0_.CreateTime DESC ]
[SQL: select top 4 new0_.New_ID as New1_0_, new0_.ClassID as ClassID0_, new0_.ParentID as ParentID0_, new0_.Type as Type0_, new0_.TitleSN as TitleSN0_, new0_.Title as Title0_, new0_.SubTitle as SubTitle0_, new0_.Color as Color0_, new0_.Source as Source0_, new0_.Author as Author0_, new0_.Tags as Tags0_, new0_.Flags as Flags0_, new0_.Images as Images0_, new0_.ArrayImages as ArrayIm14_0_, new0_.ArrayFiles as ArrayFiles0_, new0_.LinkUrl as LinkUrl0_, new0_.Money as Money0_, new0_.Descriptions as Descrip18_0_, new0_.Contents as Contents0_, new0_.Text00 as Text20_0_, new0_.Text01 as Text21_0_, new0_.Text02 as Text22_0_, new0_.Text03 as Text23_0_, new0_.Text04 as Text24_0_, new0_.Text05 as Text25_0_, new0_.Text06 as Text26_0_, new0_.Text07 as Text27_0_, new0_.Text08 as Text28_0_, new0_.Text09 as Text29_0_, new0_.TimeBegin as TimeBegin0_, new0_.TimeEnd as TimeEnd0_, new0_.IsItalic as IsItalic0_, new0_.IsBold as IsBold0_, new0_.HtmlTemplate as HtmlTem34_0_, new0_.Orders as Orders0_, new0_.Hits as Hits0_, new0_.IsStatus as IsStatus0_, new0_.IsHot as IsHot0_, new0_.IsHtml as IsHtml0_, new0_.IsComment as IsComment0_, new0_.SeoKeywords as SeoKeyw41_0_, new0_.SeoDescription as SeoDesc42_0_, new0_.CreateTime as CreateTime0_, new0_.UpdateTime as UpdateTime0_, new0_.MarkName as MarkName0_, new0_.UserID as UserID0_, new0_.AdminID as AdminID0_, new0_.Languages as Languages0_ from BtxCMS_New new0_ where (new0_.ClassID in (select classclass1_.Class_ID from BtxCMS_Class_Class classclass1_ where classclass1_.ParentPath like '%,328,%')) and (new0_.Flags like '%h%') and new0_.IsStatus=0 order by new0_.IsHot DESC, new0_.Orders ASC, new0_.CreateTime DESC]]
   BtxCMS.BLL.Manager.NewManager.GetListNotClass(Int32 classID, String markName, String flags, Int32 start, Int32 max) in H:\三套系统\Web11-24\Web12-19\Web\BtxCMS.BLL\Manager\NewManager_Ext.cs:58
   _dynamic_BtxCMS.BLL.Manager.NewManager.GetListNotClass(Object , Object[] ) +560
   Spring.Aop.Framework.DynamicMethodInvocation.InvokeJoinpoint() +132
   Spring.Transaction.Interceptor.TransactionInterceptor.Invoke(IMethodInvocation invocation) +241
   CompositionAopProxy_c0e6c6b21540432782c84f9eb2b8505d.GetListNotClass(Int32 classID, String markName, String flags, Int32 start, Int32 max) +402
   BtxCMS.Web.Controllers.ItemController.Detail(Int32 ClassID, Int32 ID) in H:\三套系统\Web11-24\Web12-19\Web\BtxCMS.Web.Controllers\Controllers\ItemController.cs:105
   lambda_method(Closure , ControllerBase , Object[] ) +198
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +280
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +80
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +659
   System.Web.Mvc.Controller.ExecuteCore() +146
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +60
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +36
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4110.0