JobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia

// Id: #8800050
using Inpart.Integracao.GerenciadorJobs.Services;

var jobFaturamentoDiretoService = Activate<JobFaturamentoDiretoService>();
await jobFaturamentoDiretoService.Executar_px_IntegracaoCirurgia();

Parameters

CurrentCulture
""
RecurringJobId
"wsintegracao-integracao-cirurgia"
Time
1782787028

State

06/30/2026 02:37:39 (+31.343s) Failed

An exception occurred during performance of the job.

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)

+64ms Processing

Server:
a577190750f5.development:1
Worker:
97fa2df2

+6ms Enqueued

Triggered by recurring job scheduler

06/30/2026 02:37:08 Created