Que tal compañeros,
Tengo una planilla que da inconvenientes al tratar de generarla, pues dio inconvenientes el API de generación de planilla lanzándome este error en el log de planilla.
Error al enviar al API la orden de ejecución de la planilla Error: BadRequest - Bad Request
Aseinfo.Infrastructure.Base.Exceptions.GeneracionPlanillaException: Error al enviar al API la orden de ejecución de la planilla Error: BadRequest - Bad Request at
Aseinfo.VH4.MicroServices.AppJob.Common.Tasks.GenerarPlanillaTask.IniciarGeneracionPlanilla(String sessionId, CrearIniciarPlanillaData dataPlanilla, GeneradorPlanillaHosting hosting, String descripcionTipoPlanilla, IDictionary`2 config) in C:\vh4\VH4\MicroServices\AppJob\Common\Tasks\GenerarPlanillaTask.cs:line 689 at
Aseinfo.VH4.MicroServices.AppJob.Common.Tasks.GenerarPlanillaTask.Execute(Dictionary`2 jobData, IDictionary`2 config, String descripcionPeriodo) in C:\vh4\VH4\MicroServices\AppJob\Common\Tasks\GenerarPlanillaTask.cs:line 205
Luego de eso lo que hice fue reiniciar las tareas de Evolution y volver a generar planilla, pero ahora me lanza error de timeout.
System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. --->
System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out at
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.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.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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<NonQuery>b__0(DbCommand t, DbCommandInterceptionContext`1 c) at
System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func
3 operation, TInterceptionContext interceptionContext, Action3 executing, Action
3 executed) at
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext) at
System.Data.Entity.Internal.InterceptableDbCommand.ExecuteNonQuery() at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreCommandInternal(String commandText, Object[] parameters) at System.Data.Entity.Core.Objects.ObjectContext.<>cDisplayClass59.<executestorecommand>b58() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransactionT at
System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreCommand(TransactionalBehavior transactionalBehavior, String commandText, Object[] parameters) at
Aseinfo.VH4.MicroServices.GenPla.Common.Repository.GenericEntityRepository.ExecuteStoreCommand(String sql, Object[] parameters) in C:vh4VH4MicroServicesGenPlaCommonRepositoryGenericEntityRepository.cs:line 117 at
Aseinfo.VH4.MicroServices.GenPla.Common.Ejecutores.EjecutorFormulacionBase.EjecutarGeneracion() in C:vh4VH4MicroServicesGenPlaCommonEjecutoresEjecutorFormulacionBase.cs:line 715 ClientConnectionId:b48f3676-e09b-46fe-98a1-5b213dbaceb5 Error Number:-2,State:0,Class:11
Cabe mencionar que la planilla no se hicieron cambios, simplemente después de primer error se reiniciaron las tareas y se intentó generar planilla nuevamente.
asked
28 Jan '20, 13:01
Josue Mancilla
(suspended)
accept rate:
42%