Transaction (Process ID 78) 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 78) 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 78) 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 78) 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) +388
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515
   System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) +385
   System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) +502
   System.Data.SqlClient.SqlDataReader.Read() +37
   NHibernate.Driver.NHybridDataReader.Read() +28
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +1416
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +205
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +195

[GenericADOException: could not execute query
[ select TOP (1)  cacheitemr0_.Id as Id749_, cacheitemr0_.ValidUntilUtc as ValidUnt2_749_, cacheitemr0_.CachedOnUtc as CachedOn3_749_, cacheitemr0_.Output as Output749_, cacheitemr0_.ContentType as ContentT5_749_, cacheitemr0_.QueryString as QueryStr6_749_, cacheitemr0_.CacheKey as CacheKey749_, cacheitemr0_.InvariantCacheKey as Invarian8_749_, cacheitemr0_.Url as Url749_, cacheitemr0_.Tenant as Tenant749_, cacheitemr0_.StatusCode as StatusCode749_, cacheitemr0_.Tags as Tags749_, cacheitemr0_.ValidFor as ValidFor749_ from Contrib_Cache_Database_CacheItemRecord cacheitemr0_ where cacheitemr0_.CacheKey=@p0 ]
  Name:p1 - Value:tenant=Default;url=/pub/white-house-roundhay-leeds/p1507/events/;theme=chefandbrewer;id=4244;header:accept-encoding=x-gzip, gzip, deflate;
[SQL: select TOP (1)  cacheitemr0_.Id as Id749_, cacheitemr0_.ValidUntilUtc as ValidUnt2_749_, cacheitemr0_.CachedOnUtc as CachedOn3_749_, cacheitemr0_.Output as Output749_, cacheitemr0_.ContentType as ContentT5_749_, cacheitemr0_.QueryString as QueryStr6_749_, cacheitemr0_.CacheKey as CacheKey749_, cacheitemr0_.InvariantCacheKey as Invarian8_749_, cacheitemr0_.Url as Url749_, cacheitemr0_.Tenant as Tenant749_, cacheitemr0_.StatusCode as StatusCode749_, cacheitemr0_.Tags as Tags749_, cacheitemr0_.ValidFor as ValidFor749_ from Contrib_Cache_Database_CacheItemRecord cacheitemr0_ where cacheitemr0_.CacheKey=@p0]]
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +637
   NHibernate.Loader.Loader.ListUsingQueryCache(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +236
   NHibernate.Hql.Ast.ANTLR.Loader.QueryLoader.List(ISessionImplementor session, QueryParameters queryParameters) +99
   NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.List(ISessionImplementor session, QueryParameters queryParameters) +426
   NHibernate.Engine.Query.HQLQueryPlan.PerformList(QueryParameters queryParameters, ISessionImplementor session, IList results) +695
   NHibernate.Impl.SessionImpl.List(IQueryExpression queryExpression, QueryParameters queryParameters, IList results) +678
   NHibernate.Impl.AbstractSessionImpl.List(IQueryExpression queryExpression, QueryParameters parameters) +223
   NHibernate.Impl.ExpressionQueryImpl.List() +189
   NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery) +61
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +262
   NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) +26
   System.Linq.Queryable.FirstOrDefault(IQueryable`1 source, Expression`1 predicate) +490
   Contrib.Cache.Database.Services.DatabaseOutputCacheStorageProvider.Set(String key, CacheItem cacheItem) +371
   Orchard.OutputCache.Filters.OutputCacheFilter.OnResultExecuted(ResultExecutedContext filterContext) +3108
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +244
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +720
   System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__19() +40
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
   Orchard.Mvc.Routes.HttpAsyncHandler.EndProcessRequest(IAsyncResult result) +42
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288


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