2024-10-22 00:43:40.4099 : {"ClassName":"Microsoft.EntityFrameworkCore.DbUpdateException","Message":"An error occurred while saving the entity changes. See the inner exception for details.","Data":null,"InnerException":{"ClassName":"Microsoft.Data.SqlClient.SqlException","Message":"Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.\r\nOperation cancelled by user.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"12.00.5688","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"-2","HelpLink.BaseHelpUrl":"https://go.microsoft.com/fwlink","HelpLink.LinkId":"20476","OriginalClientConnectionId":"266fb22d-7980-4696-96aa-42e17c1dff80","RoutingDestination":"e07ed533d243.tr30084.eastus1-a.worker.database.windows.net,11053","SqlError 1":"Microsoft.Data.SqlClient.SqlError: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.","SqlError 2":"Microsoft.Data.SqlClient.SqlError: Operation cancelled by user."},"InnerException":{"ClassName":"System.ComponentModel.Win32Exception","Message":"The wait operation timed out.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467259,"Source":null,"WatsonBuckets":null,"NativeErrorCode":258},"HelpURL":null,"StackTraceString":" at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()\r\n at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()\r\n at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)\r\n at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)\r\n at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)\r\n at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)\r\n at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146232060,"Source":"Core Microsoft SqlClient Data Provider","WatsonBuckets":null,"Errors":null,"ClientConnectionId":"f274f2a6-c59a-45c3-9b65-a19c1df581ad"},"HelpURL":null,"StackTraceString":" at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)\r\n at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)\r\n at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)\r\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)\r\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)\r\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.b__104_0(DbContext _, ValueTuple`2 t)\r\n at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)\r\n at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)\r\n at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)\r\n at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()\r\n at FunctionApp1.Repository.TransaccionEventoRepository.AddTransactionEvent(TransaccionEvento transactionEvent) in L:\\NET\\WorldOfficeNet\\TFP_WoLicencias\\Services\\Task\\FacturacionElectronicaTaskService\\AzureFunction\\FunctionApp1\\Repository\\TransaccionEventoRepository.cs:line 50\r\n at FunctionApp1.Logic.TransaccionEventoLogic.AddTransactionEvent(TransaccionEvento transactionEvent) in L:\\NET\\WorldOfficeNet\\TFP_WoLicencias\\Services\\Task\\FacturacionElectronicaTaskService\\AzureFunction\\FunctionApp1\\Logic\\TransaccionEventoLogic.cs:line 22\r\n at FunctionApp1.Logic.EnviarEmailLogic.SendEmail(Transaccion transaction, DocumentoEncabezado document, String[] to, String subject, String displayName, String htmlTemplate, ExecutionContext context, List`1 attachments, Boolean enviosMultiples, Boolean senConfig) in L:\\NET\\WorldOfficeNet\\TFP_WoLicencias\\Services\\Task\\FacturacionElectronicaTaskService\\AzureFunction\\FunctionApp1\\Logic\\EnviarEmailLogic.cs:line 454\r\n at FunctionApp1.Logic.EnviarEmailLogic.EnviarCorreoTransaccion(RequestEnvioFunction requestEnvio) in L:\\NET\\WorldOfficeNet\\TFP_WoLicencias\\Services\\Task\\FacturacionElectronicaTaskService\\AzureFunction\\FunctionApp1\\Logic\\EnviarEmailLogic.cs:line 304\r\n at FunctionApp1.Function1.Run(HttpRequest req, ILogger log, ExecutionContext context) in L:\\NET\\WorldOfficeNet\\TFP_WoLicencias\\Services\\Task\\FacturacionElectronicaTaskService\\AzureFunction\\FunctionApp1\\Function1.cs:line 50","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233088,"Source":"Microsoft.EntityFrameworkCore.Relational","WatsonBuckets":null} -------------------------------------------------------------------- 2024-10-22 06:37:09.3551 : {"error":false,"codError":null,"mensaje":"","entero":0,"excludeGridMethod":false,"technicalMessage":null} -------------------------------------------------------------------- 2024-10-22 11:18:31.6062 : {"error":false,"codError":null,"mensaje":"","entero":0,"excludeGridMethod":false,"technicalMessage":null} -------------------------------------------------------------------- 2024-10-22 16:05:15.7543 : {"error":false,"codError":null,"mensaje":"","entero":0,"excludeGridMethod":false,"technicalMessage":null} --------------------------------------------------------------------