EntityCommandExecutionException in EntityFramework
Message
An error occurred while executing the command definition. See the inner exception for details.
Stack Trace
at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.<GetResults>b__0()
at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__31_0()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at Rock.Attribute.Helper.LoadAttributes(IHasAttributes entity, RockContext rockContext, List`1 limitToAttributes) in C:\Github\Rock14\Rock\Attribute\Helper.cs:line 546
at Rock.Attribute.Helper.LoadAttributes(IHasAttributes entity) in C:\Github\Rock14\Rock\Attribute\Helper.cs:line 351
at Rock.Web.Cache.ModelCache`2.SetFromEntity(IEntity entity) in C:\Github\Rock14\Rock\Web\Cache\ModelCache.cs:line 82
at Rock.Web.Cache.PageCache.SetFromEntity(IEntity entity) in C:\Github\Rock14\Rock\Web\Cache\Entities\PageCache.cs:line 662
at Rock.Web.Cache.EntityCache`2.QueryDbWithContext(Int32 id, DbContext rockContext) in C:\Github\Rock14\Rock\Web\Cache\EntityCache.cs:line 421
at Rock.Web.Cache.EntityCache`2.QueryDb(Int32 id, DbContext rockContext) in C:\Github\Rock14\Rock\Web\Cache\EntityCache.cs:line 399
at Rock.Web.Cache.EntityCache`2.<>c__DisplayClass10_0.<Get>b__0() in C:\Github\Rock14\Rock\Web\Cache\EntityCache.cs:line 116
at Rock.Web.Cache.ItemCache`1.GetOrAddExisting(String key, Func`1 itemFactory, Func`1 keyFactory) in C:\Github\Rock14\Rock\Web\Cache\ItemCache.cs:line 134
at Rock.Web.Cache.ItemCache`1.GetOrAddExisting(Int32 key, Func`1 itemFactory, Func`1 keyFactory) in C:\Github\Rock14\Rock\Web\Cache\ItemCache.cs:line 84
at Rock.Web.Cache.EntityCache`2.Get(Int32 id, RockContext rockContext) in C:\Github\Rock14\Rock\Web\Cache\EntityCache.cs:line 114
at Rock.Web.RockRouteHandler.GetPageIdFromDataTokens(RequestContext routeRequestContext, SiteCache site, String& pageId, Int32& routeId, Boolean& isSiteMatch) in C:\Github\Rock14\Rock\Web\RockRouteHandler.cs:line 540
at Rock.Web.RockRouteHandler.System.Web.Routing.IRouteHandler.GetHttpHandler(RequestContext requestContext) in C:\Github\Rock14\Rock\Web\RockRouteHandler.cs:line 108
- SqlException in .Net SqlClient Data Provider
Message
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Stack Trace
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)