2020-10-22 07:20:29.7688 : conexion wo: 9N3B-86HW-6KYZ-X7BD -------------------------------------------------------------------- 2020-10-22 07:20:33.7689 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 07:31:05.8470 : conexion wo: 9N3B-86HW-6KYZ-X7BD -------------------------------------------------------------------- 2020-10-22 07:31:05.9876 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 07:59:57.1930 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 08:00:01.3337 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 08:02:00.0851 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 08:02:00.2726 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 08:03:45.0304 : conexion wo: 9N3B-86HW-6KYZ-X7BD -------------------------------------------------------------------- 2020-10-22 08:03:45.1554 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 08:16:17.9260 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 08:16:22.0356 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 09:02:06.7387 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 09:02:06.9262 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 09:05:05.1288 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 09:05:05.2861 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 09:15:06.7950 : Empresa: 12307-PARI SERVIS E.I.R.L. Transacciones: 12523079,12523080,12523081,12523082,12523083,12523084 Metodo: SendEmailDailySummaryBillsSalePeru Linea: 5890 Error: System.NullReferenceException: Object reference not set to an instance of an object. at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.GetNameTypeDocument(DocumentoEncabezado document) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5890 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.SendEmailDailySummaryBillsSalePeru(LicenciaEmpresa company, List`1 transactions, Boolean lowComunication, Boolean approved, Boolean isTest) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5812 -------------------------------------------------------------------- 2020-10-22 09:23:41.5404 : conexion wo: 6421-GN73-UTPY-LFA8 -------------------------------------------------------------------- 2020-10-22 09:23:45.6343 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 09:45:31.5180 : Error al reenviar transacciones pendientes Facturación Electrónica Metodo: WoLicencias.Services.Logic.FacturacionElectronica.ResendPendingDocuments Linea: 11291 Error: 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 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.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<>c.b__6_0(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 StackTrace: at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 -------------------------------------------------------------------- 2020-10-22 09:56:34.7842 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 09:56:34.9874 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 09:58:16.0728 : conexion wo: XGLP-1P9E-65LA-TQKC -------------------------------------------------------------------- 2020-10-22 09:58:16.2449 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:15:31.2822 : Error al reenviar transacciones pendientes Facturación Electrónica Metodo: WoLicencias.Services.Logic.FacturacionElectronica.ResendPendingDocuments Linea: 11291 Error: 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 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.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<>c.b__6_0(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 StackTrace: at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 -------------------------------------------------------------------- 2020-10-22 10:35:08.4055 : conexion wo: 1DY4-8CDM-QTN3-ZS5Q -------------------------------------------------------------------- 2020-10-22 10:35:10.7493 : Se envia documento a la SUNAT: 20602449310 - F001 114 - Fecha: 2020-10-21 10:24:29.0000 -------------------------------------------------------------------- 2020-10-22 10:35:39.8401 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:35:39.9963 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:36:03.1923 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:36:03.3486 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:36:26.2417 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:36:26.3980 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:36:48.8395 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:36:48.9645 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:37:11.3546 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:37:11.5493 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:37:38.2929 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:37:38.4335 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:38:04.9604 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:38:05.1323 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:38:27.7069 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:38:27.8335 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:38:56.9890 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:38:57.1296 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:39:19.3339 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:39:19.4610 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:39:42.6240 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:39:42.7959 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:40:05.2665 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:40:05.4025 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:40:29.8964 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:40:30.0214 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:40:56.8371 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:40:56.9778 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:41:20.8614 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:41:21.0020 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:41:43.2726 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:41:43.4133 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:41:57.9407 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 10:42:00.4413 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 10:45:12.3958 : conexion wo: 1DY4-8CDM-QTN3-ZS5Q -------------------------------------------------------------------- 2020-10-22 10:45:12.6302 : Se envia documento a la SUNAT: 20602449310 - F001 115 - Fecha: 2020-10-21 10:38:56.0000 -------------------------------------------------------------------- 2020-10-22 10:45:30.6298 : Error al reenviar transacciones pendientes Facturación Electrónica Metodo: WoLicencias.Services.Logic.FacturacionElectronica.ResendPendingDocuments Linea: 11291 Error: 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 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.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<>c.b__6_0(DbCommand t, DbCommandInterceptionContext`1 c) at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) --- End of inner exception stack trace --- at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 StackTrace: at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__1() at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass41_0.b__0() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1..GetEnumerator>b__31_0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WoLicencias.Data.Repository.FacturacionElectronica.FacturacionElectronicaRepository.GetTransactionsPendingToApproveSUNAT() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Data\DataRepository\Source\WoLicencias.Data.Repository\FacturacionElectronica\FacturacionElectronicaRepository.cs:line 1774 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.<>c__DisplayClass220_0.<b__0>d.MoveNext() in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 11291 -------------------------------------------------------------------- 2020-10-22 11:01:19.8047 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 11:01:21.9142 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 11:01:57.8994 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 11:01:58.0400 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 11:15:05.9515 : Empresa: 108173-COLOMBIA TOOLS SAC Transacciones: 12538668 Metodo: SendEmailDailySummaryBillsSalePeru Linea: 5890 Error: System.NullReferenceException: Object reference not set to an instance of an object. at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.GetNameTypeDocument(DocumentoEncabezado document) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5890 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.SendEmailDailySummaryBillsSalePeru(LicenciaEmpresa company, List`1 transactions, Boolean lowComunication, Boolean approved, Boolean isTest) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5812 -------------------------------------------------------------------- 2020-10-22 11:20:59.2900 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 11:20:59.4307 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 11:32:33.8010 : conexion wo: 1DY4-8CDM-QTN3-ZS5Q -------------------------------------------------------------------- 2020-10-22 11:32:34.2388 : Se envia documento a la SUNAT: 20602449310 - F001 116 - Fecha: 2020-10-21 11:24:08.0000 -------------------------------------------------------------------- 2020-10-22 11:32:39.1715 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 11:32:39.3903 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 11:40:36.9626 : Se envia resumen a la SUNAT: 20602449310 - RC 11403 - Fecha: 2020-10-20 08:50:45.0000 -------------------------------------------------------------------- 2020-10-22 11:42:55.3256 : Se envia resumen a la SUNAT: 20602449310 - RC 11425 - Fecha: 2020-10-21 10:49:32.0000 -------------------------------------------------------------------- 2020-10-22 12:01:07.0809 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 12:01:07.2841 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 13:27:11.3942 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 13:27:11.5505 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 13:47:01.4602 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 13:47:01.5690 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 13:48:49.2837 : conexion wo: PYWU-SFCL-A9Z7-W8KD -------------------------------------------------------------------- 2020-10-22 13:48:49.4243 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:20:06.7331 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 14:20:06.8581 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:26:33.4281 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 14:26:33.5844 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:43:53.6414 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 14:43:53.7976 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:50:13.0738 : conexion wo: XGLP-1P9E-65LA-TQKC -------------------------------------------------------------------- 2020-10-22 14:50:13.2145 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:51:07.8643 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:51:08.1466 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:51:29.8030 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:51:29.9280 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:51:52.2929 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:51:52.4335 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:52:13.9612 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:52:14.1018 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:52:41.4952 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:52:41.6358 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:53:04.4407 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:53:04.6282 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:53:25.8794 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:53:26.0044 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:53:47.9973 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:53:48.1380 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:54:10.3279 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:54:10.4829 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:54:33.6766 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:54:33.8230 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:54:59.1272 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 14:54:59.2679 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 14:55:36.5887 : conexion wo: XGLP-1P9E-65LA-TQKC -------------------------------------------------------------------- 2020-10-22 14:55:36.7293 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:00:49.0167 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 15:00:49.1730 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:02:25.2944 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 15:02:25.4350 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:04:10.4932 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 15:04:10.6338 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:06:00.3497 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 15:06:00.5058 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:11:53.6417 : conexion wo: XGLP-1P9E-65LA-TQKC -------------------------------------------------------------------- 2020-10-22 15:11:53.7511 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:18:43.7652 : conexion wo: 66DZ-MNX7-BDSH-K4G9 -------------------------------------------------------------------- 2020-10-22 15:18:44.0464 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:18:57.5991 : conexion wo: 6421-GN73-UTPY-LFA8 -------------------------------------------------------------------- 2020-10-22 15:18:57.7398 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 15:45:08.3337 : Empresa: 13432-ISEO PERU S.A.C. Transacciones: 12574587 Metodo: SendEmailDailySummaryBillsSalePeru Linea: 5890 Error: System.NullReferenceException: Object reference not set to an instance of an object. at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.GetNameTypeDocument(DocumentoEncabezado document) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5890 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.SendEmailDailySummaryBillsSalePeru(LicenciaEmpresa company, List`1 transactions, Boolean lowComunication, Boolean approved, Boolean isTest) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5812 -------------------------------------------------------------------- 2020-10-22 16:39:37.5130 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 16:39:37.6692 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 16:44:50.1113 : conexion wo: 6421-GN73-UTPY-LFA8 -------------------------------------------------------------------- 2020-10-22 16:44:50.2363 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 17:07:06.9791 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 17:07:07.1822 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 17:15:07.7301 : Empresa: 4565-TRIPLE ALIANZA S.A.C. Transacciones: 12589027 Metodo: SendEmailDailySummaryBillsSalePeru Linea: 5890 Error: System.NullReferenceException: Object reference not set to an instance of an object. at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.GetNameTypeDocument(DocumentoEncabezado document) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5890 at WoLicencias.Services.Logic.FacturacionElectronica.FacturacionElectronicaLogic.SendEmailDailySummaryBillsSalePeru(LicenciaEmpresa company, List`1 transactions, Boolean lowComunication, Boolean approved, Boolean isTest) in C:\reposWO\TFP_WoLicencias\Infrastructure.Base.Services\ServiceLogic\Source\WoLicencias.Services.Logic\FacturacionElectronica\FacturacionElectronicaLogic.cs:line 5812 -------------------------------------------------------------------- 2020-10-22 17:16:43.2890 : conexion wo: EPJA-R4SD-1476-EAIA -------------------------------------------------------------------- 2020-10-22 17:16:43.4921 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 17:36:17.3433 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 17:36:17.4683 : politica de firma version 2 -------------------------------------------------------------------- 2020-10-22 17:51:14.9377 : conexion wo: EHJP-N5C3-ZWQM-YPSX -------------------------------------------------------------------- 2020-10-22 17:51:15.0784 : politica de firma version 2 --------------------------------------------------------------------