Microsoft.Data.SqlClient.SqlException (a577190750f5.development:1)
Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot continue the execution because the session is in the kill state.
A severe error occurred on the current command. The results, if any, should be discarded.
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at Microsoft.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
at Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, Boolean isInternal, String endMethod)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location ---
at Dapper.SqlMapper.ExecuteImplAsync(IDbConnection cnn, CommandDefinition command, Object param) in /_/Dapper/SqlMapper.Async.cs:line 662
at Inpart.DataAccess.EFRepository`1.ExecuteAsync(String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType)
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.AtualizacoesDiversas(Int32 idIntegracao, IEnumerable`1 cirurgiaClienteLista) in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 294
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.px_IntegracaoCirurgia(Int32 idIntegracao, Boolean enviaAlertaAlteracoes) in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 86
at Inpart.Integracao.GerenciadorJobs.Services.JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia() in /src/Inpart.Integracao.GerenciadorJobs/Services/JobFaturamentoDiretoService.cs:line 65
at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)