Transaction (Process ID 62) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Server Error in '/' Application.

Transaction (Process ID 62) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Transaction (Process ID 62) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Transaction (Process ID 62) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3189216
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +753
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +5042
   System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) +278
   System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) +295
   System.Data.SqlClient.SqlDataReader.Read() +42
   NHibernate.Driver.NHybridDataReader.Read() +27
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +1323
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +204
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +156

[GenericADOException: could not execute query
[ select TOP (1)  cacheitemr0_.Id as Id565_, cacheitemr0_.ValidUntilUtc as ValidUnt2_565_, cacheitemr0_.CachedOnUtc as CachedOn3_565_, cacheitemr0_.Output as Output565_, cacheitemr0_.ContentType as ContentT5_565_, cacheitemr0_.QueryString as QueryStr6_565_, cacheitemr0_.CacheKey as CacheKey565_, cacheitemr0_.InvariantCacheKey as Invarian8_565_, cacheitemr0_.Url as Url565_, cacheitemr0_.Tenant as Tenant565_, cacheitemr0_.StatusCode as StatusCode565_, cacheitemr0_.Tags as Tags565_, cacheitemr0_.ValidFor as ValidFor565_ from Contrib_Cache_Database_CacheItemRecord cacheitemr0_ where cacheitemr0_.CacheKey=@p0 ]
  Name:p1 - Value:tenant=Default;url=/pub/squire-yorke-wrexham/m2408/;theme=fayreandsquare3;id=680;header:accept-encoding=x-gzip, gzip, deflate;
[SQL: select TOP (1)  cacheitemr0_.Id as Id565_, cacheitemr0_.ValidUntilUtc as ValidUnt2_565_, cacheitemr0_.CachedOnUtc as CachedOn3_565_, cacheitemr0_.Output as Output565_, cacheitemr0_.ContentType as ContentT5_565_, cacheitemr0_.QueryString as QueryStr6_565_, cacheitemr0_.CacheKey as CacheKey565_, cacheitemr0_.InvariantCacheKey as Invarian8_565_, cacheitemr0_.Url as Url565_, cacheitemr0_.Tenant as Tenant565_, cacheitemr0_.StatusCode as StatusCode565_, cacheitemr0_.Tags as Tags565_, cacheitemr0_.ValidFor as ValidFor565_ from Contrib_Cache_Database_CacheItemRecord cacheitemr0_ where cacheitemr0_.CacheKey=@p0]]
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +481
   NHibernate.Loader.Loader.ListUsingQueryCache(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +234
   NHibernate.Hql.Ast.ANTLR.Loader.QueryLoader.List(ISessionImplementor session, QueryParameters queryParameters) +77
   NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.List(ISessionImplementor session, QueryParameters queryParameters) +311
   NHibernate.Engine.Query.HQLQueryPlan.PerformList(QueryParameters queryParameters, ISessionImplementor session, IList results) +488
   NHibernate.Impl.SessionImpl.List(IQueryExpression queryExpression, QueryParameters queryParameters, IList results) +304
   NHibernate.Impl.AbstractSessionImpl.List(IQueryExpression queryExpression, QueryParameters parameters) +223
   NHibernate.Impl.ExpressionQueryImpl.List() +162
   NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery) +41
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +64
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +26
   Contrib.Cache.Database.Services.DatabaseOutputCacheStorageProvider.Set(String key, CacheItem cacheItem) +388
   Orchard.OutputCache.Filters.OutputCacheFilter.OnResultExecuted(ResultExecutedContext filterContext) +3463
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +183
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +436
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +662
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +39
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +22
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +22
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +41
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +22
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) +41
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +607
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2053.0