// Id: #9135847
using Inpart.Integracao.GerenciadorJobs.Services;
var jobIntegracaoLean = Activate<JobIntegracaoLean>();
await jobIntegracaoLean.SincronizarCotacoesOpme();
| CurrentCulture | |
| RecurringJobId | |
| Time | |
An exception occurred during performance of the job.
A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - Foi forçado o cancelamento de uma conexão existente pelo host remoto.)
System.Data.DataException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - Foi forçado o cancelamento de uma conexão existente pelo host remoto.) ---> Microsoft.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - Foi forçado o cancelamento de uma conexão existente pelo host remoto.) ---> System.ComponentModel.Win32Exception (10054): Foi forçado o cancelamento de uma conexão existente pelo host remoto. at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByteArray(Span`1 buff, Int32 len, Int32& totalRead) at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadString(Int32 length, String& value) at Microsoft.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj, SqlCommandColumnEncryptionSetting columnEncryptionOverride, String columnName, SqlCommand command) at Microsoft.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly, Boolean forStreaming) at Microsoft.Data.SqlClient.SqlDataReader.GetValue(Int32 i) at Deserialize564f9edd-564e-4e5b-a95b-e0fd88b66c5f(DbDataReader) ClientConnectionId:989ee9b0-bdd5-45d0-99f5-89ae4a3e4c5c Error Number:10054,State:0,Class:20 --- End of inner exception stack trace --- at Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in /_/Dapper/SqlMapper.cs:line 3928 at Deserialize564f9edd-564e-4e5b-a95b-e0fd88b66c5f(DbDataReader) at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) at Inpart.Integracao.GerenciadorJobs.CustomDisableConcurrentExecutionAttribute.OnPerforming(PerformingContext context) at Hangfire.Profiling.ProfilerExtensions.InvokeAction[TInstance](InstanceAction`1 tuple) at Hangfire.Profiling.SlowLogProfiler.InvokeMeasured[TInstance,TResult](TInstance instance, Func`2 action, String message) at Hangfire.Profiling.ProfilerExtensions.InvokeMeasured[TInstance](IProfiler profiler, TInstance instance, Action`1 action, String message) at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation)