ServiceConsumerNotificationLogCleaner.ExecuteAsync

// Id: #92
using Arib.Api.Gateway.BackServices.Jobs;

var serviceConsumerNotificationLogCleaner = Activate<ServiceConsumerNotificationLogCleaner>();
await serviceConsumerNotificationLogCleaner.ExecuteAsync();

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"delete-service-consumer-notification-log"
RetryCount
10
Time
1761282004

State

10/24/2025 09:31:09 (+3ms) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
36117efa

+1h 54m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 10 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 09:31:04

+3ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
289892e6

+1h 9m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 9 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 07:37:06

+6ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+4ms Processing

Server:
testmachine:300619
Worker:
c60541b6

+43m 45.313s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 8 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 06:27:58

+3ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+7ms Processing

Server:
testmachine:300619
Worker:
ea5f2f63

+23m 67ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 7 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:44:09

+3ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+93ms Processing

Server:
testmachine:300619
Worker:
c4b904c7

+12m 15.077s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 6 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:21:17

+7ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
5001db95

+4m 45.027s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 5 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:08:58

+3ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+7ms Processing

Server:
testmachine:300619
Worker:
1d9a438d

+1m 45.003s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 4 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:04:21

+7ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
e44fa236

+1m 30.003s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 3 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:02:26

+7ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
05daaa54

+45s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 2 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:00:58

+7ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+3ms Processing

Server:
testmachine:300619
Worker:
7773b040

+18.080s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

Retry attempt 1 of 10: The ConnectionString property has not been initia…

Enqueue at:
10/24/2025 05:00:20

+4ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (testmachine:300619)

The ConnectionString property has not been initialized.

System.InvalidOperationException: The ConnectionString property has not been initialized.
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(SqlConnectionOverrides overrides, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Api.Gateway.Models.Infrastructure.BaseRepository`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Infrastructure.BaseService`1.ExecuteDeleteAsync(Expression`1 where)
   at Api.Gateway.BL.Services.ServiceConsumerNotificationLogService.DeleteServiceConsumerNotificationLogAsync()
   at Arib.Api.Gateway.BackServices.Jobs.ServiceConsumerNotificationLogCleaner.ExecuteAsync()
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+6ms Processing

Server:
testmachine:300619
Worker:
8f97b870

+ <1ms Enqueued

Triggered by recurring job scheduler

10/24/2025 05:00:04 Created