// Id: 5bd29b8c-eb18-44fd-a70b-ca885c79d0b5
using NP.FRIDA.BackgroundJob;
var processRecalculationDuringOfficeHoursMultiTenant = Activate<ProcessRecalculationDuringOfficeHoursMultiTenant>();
await processRecalculationDuringOfficeHoursMultiTenant.ExecuteJob("demoen");
| CurrentCulture | |
| RecurringJobId | |
| CurrentUICulture | |
| Time | |
An exception occurred during performance of the job.
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Microsoft.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: Unknown error 258 --- End of inner exception stack trace --- at Microsoft.Data.SqlClient.SqlConnection.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.WriteSni(Boolean canAccumulate) at Microsoft.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinuedOnSuccess(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source) at Microsoft.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source) at Microsoft.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source) at Microsoft.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source) --- End of stack trace from previous location --- at EFCore.BulkExtensions.SqlAdapters.SqlServer.SqlServerAdapter.InsertAsync[T](BulkContext context, Type type, IEnumerable`1 entities, TableInfo tableInfo, Action`1 progress, Boolean isAsync, CancellationToken cancellationToken) at EFCore.BulkExtensions.SqlAdapters.SqlServer.SqlServerAdapter.InsertAsync[T](BulkContext context, Type type, IEnumerable`1 entities, TableInfo tableInfo, Action`1 progress, Boolean isAsync, CancellationToken cancellationToken) at EFCore.BulkExtensions.SqlAdapters.SqlServer.SqlServerAdapter.InsertAsync[T](BulkContext context, Type type, IEnumerable`1 entities, TableInfo tableInfo, Action`1 progress, Boolean isAsync, CancellationToken cancellationToken) at EFCore.BulkExtensions.SqlAdapters.SqlServer.SqlServerAdapter.InsertAsync[T](BulkContext context, Type type, IEnumerable`1 entities, TableInfo tableInfo, Action`1 progress, CancellationToken cancellationToken) at EFCore.BulkExtensions.SqlBulkOperation.InsertAsync[T](BulkContext context, Type type, IEnumerable`1 entities, TableInfo tableInfo, Action`1 progress, CancellationToken cancellationToken) at EFCore.BulkExtensions.DbContextBulkTransaction.ExecuteAsync[T](BulkContext context, Type type, IEnumerable`1 entities, OperationType operationType, BulkConfig bulkConfig, Action`1 progress, CancellationToken cancellationToken) at NP.FRIDA.Calculations.SaveCalculationToDatabase.SaveVehicleAttributeDataResultsAsync(IContext calcdatacontext, Calculation nucalc) in /mnt/azp/_work/6/s/NP.FRIDA.Calculations/SaveCalculationToDatabase.cs:line 128 at NP.FRIDA.Calculations.SaveCalculationToDatabase.SaveVehicleDataAsync(IContext calcdatacontext, Calculation nucalc) in /mnt/azp/_work/6/s/NP.FRIDA.Calculations/SaveCalculationToDatabase.cs:line 109 at NP.FRIDA.Calculations.SaveCalculationToDatabase.SaveDataAsync(Int32 year) in /mnt/azp/_work/6/s/NP.FRIDA.Calculations/SaveCalculationToDatabase.cs:line 51 at NP.FRIDA.Calculations.CalcAll.SaveDataAsync(Int32 year) in /mnt/azp/_work/6/s/NP.FRIDA.Calculations/CalcAll.cs:line 224 at NP.FRIDA.Calculations.CalcAll.CalcAYearAsync(Int32 year, DateTime currentDate) in /mnt/azp/_work/6/s/NP.FRIDA.Calculations/CalcAll.cs:line 58 at NP.FRIDA.BackgroundJob.CalculationsJob.ProcessRecalculationAsync(Int32 firstYear) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/Calculations/CalculationsJob.cs:line 124 at NP.FRIDA.BackgroundJob.CalculationsJob.ProcessRecalculationAsync(Int32 firstYear) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/Calculations/CalculationsJob.cs:line 134 at NP.FRIDA.BackgroundJob.ProcessRecalculationDuringOfficeHoursMultiTenant.ExecuteBackgroundJob(IServiceProvider scopedServiceProvider) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/Calculations/ProcessRecalculationDuringOfficeHoursMultiTenant.cs:line 26 at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJobAsTenant(FridaTenantInfo tenantInfo) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/MultiTenant/MultiTenantBackgroundJob.cs:line 85 at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJobAsTenant(FridaTenantInfo tenantInfo) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/MultiTenant/MultiTenantBackgroundJob.cs:line 103 at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJob(String tenantIdentifier) in /mnt/azp/_work/6/s/NP.FRIDA.BackgroundJob/MultiTenant/MultiTenantBackgroundJob.cs:line 41 at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Triggered by recurring job scheduler