Skip to content

Instantly share code, notes, and snippets.

@stuartd
Created April 16, 2018 09:15
Show Gist options
  • Select an option

  • Save stuartd/293d95248915600aafadc41b0f7860f3 to your computer and use it in GitHub Desktop.

Select an option

Save stuartd/293d95248915600aafadc41b0f7860f3 to your computer and use it in GitHub Desktop.
System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.
---> System.Data.SqlClient.SqlException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---
at void System.Data.SqlClient.SqlConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
at void System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, bool callerHasConnectionLock, bool asyncClose)
at bool System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, out bool dataReady)
at bool System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at _SqlMetaDataSet System.Data.SqlClient.SqlDataReader.get_MetaData()
at void System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, string resetOptionsString, bool isInternal, bool forDescribeParameterEncryption)
at SqlDataReader System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, bool async, int timeout, out Task task, bool asyncWrite, bool inRetry, SqlDataReader ds, bool describeParameterEncryptionRequest)
at SqlDataReader System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, string method, TaskCompletionSource<object> completion, int timeout, out Task task, out bool usedCache, bool asyncWrite, bool inRetry)
at SqlDataReader System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, bool returnStream, string method)
at SqlDataReader System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, string method)
at TResult System.Data.Entity.Infrastructure.Interception.InternalDispatcher<TInterceptor>.Dispatch<TTarget, TInterceptionContext, TResult>(TTarget target, Func<TTarget, TInterceptionContext, TResult> operation, TInterceptionContext interceptionContext, Action<TInterceptor, TTarget, TInterceptionContext> executing, Action<TInterceptor, TTarget, TInterceptionContext> executed)
at DbDataReader System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
at DbDataReader System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
--- End of inner exception stack trace ---
at DbDataReader System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at ObjectResult<TResultType> System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute<TResultType>(ObjectContext context, ObjectParameterCollection parameterValues)
at T System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction<T>(Func<T> func, IDbExecutionStrategy executionStrategy, bool startLocalTransaction, bool releaseConnectionOnSuccess)
at ObjectResult<T> System.Data.Entity.Core.Objects.ObjectQuery<T>.GetResults(Nullable<MergeOption> forMergeOption)+() => { }
at TResult System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute<TResult>(Func<TResult> operation)
at ObjectResult<T> System.Data.Entity.Core.Objects.ObjectQuery<T>.GetResults(Nullable<MergeOption> forMergeOption)
at IEnumerator<T> System.Data.Entity.Core.Objects.ObjectQuery<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()+() => { }
at bool System.Data.Entity.Internal.LazyEnumerator<T>.MoveNext()
at void Hoita.Vg.Common.TimerProcessing.VgConversationExpiryManager.cancelExpiredParkedMessages() in C:/Code/FeatureBranches/ApiAiChunker/VendorGraph_v3/VgLibCommon/TimerProcessing/VgConversationExpiryManager.cs:line 229
at void Hoita.Vg.Common.TimerProcessing.VgConversationExpiryManager.PerformTimerProcess() in C:/Code/FeatureBranches/ApiAiChunker/VendorGraph_v3/VgLibCommon/TimerProcessing/VgConversationExpiryManager.cs:line 43
at async Task Hoita.Vg.Common.TimerProcessing.VgTimer.runTimerAsync(CancellationToken cancellationToken) in C:/Code/FeatureBranches/ApiAiChunker/VendorGraph_v3/VgLibCommon/TimerProcessing/VgTimer.cs:line 41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment