Microsoft.Data.SqlClient.SqlException (kundtest-frida-bgjobs-7b4fbb98b8-gpbv4:1)
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.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.TryReadNetworkPacket()
at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj, Boolean isDelegateControlRequest)
at Microsoft.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName, Boolean shouldReconnect)
at Microsoft.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.ConnectionBeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state)
at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
at NP.FRIDA.SystemBLL.Managers.MessageManager`1.Commit(Boolean saveOnError) in /home/vsts/work/1/s/NP.FRIDA.SystemBLL/Managers/MessageManager.cs:line 202
at NP.FRIDA.VehicleBLL.UnitOfWork.MailJobUOW.CreateMessage(Message message, UserMessageSettingValue userMessageSetting, MailTemplate messageTemplate, String mailBody, String userId, String email, String name, Boolean isMessageACopy) in /home/vsts/work/1/s/NP.FRIDA.VehicleBLL/UnitOfWork/MailJobUOW.cs:line 703
at NP.FRIDA.VehicleBLL.UnitOfWork.MailJobUOW.MailJob(ITimeProvider time, String applicationBaseUrl, Boolean fromSupportPage, String username) in /home/vsts/work/1/s/NP.FRIDA.VehicleBLL/UnitOfWork/MailJobUOW.cs:line 578
at NP.FRIDA.BackgroundJob.PeriodicInspectionNightJob.RunPeriodicInspectionNightJob() in /home/vsts/work/1/s/NP.FRIDA.BackgroundJob/PeriodicVehicleInspection/PeriodicInspectionNightJob.cs:line 176
at NP.FRIDA.BackgroundJob.PeriodicInspectionNightJobMultiTenant.ExecuteBackgroundJob(IServiceProvider scopedServiceProvider) in /home/vsts/work/1/s/NP.FRIDA.BackgroundJob/PeriodicVehicleInspection/PeriodicInspectionNightJobMultiTenant.cs:line 26
at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJobAsTenant(FridaTenantInfo tenantInfo)
at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJobAsTenant(FridaTenantInfo tenantInfo) in /home/vsts/work/1/s/NP.FRIDA.BackgroundJob/MultiTenant/MultiTenantBackgroundJob.cs:line 104
at NP.FRIDA.BackgroundJob.MultiTenant.MultiTenantBackgroundJob`1.ExecuteJob(String tenantIdentifier) in /home/vsts/work/1/s/NP.FRIDA.BackgroundJob/MultiTenant/MultiTenantBackgroundJob.cs:line 45
at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)