ServiceConsumerNotificationLogCleaner.ExecuteAsync

// Id: #106
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
1761332410

State

10/24/2025 23:35:31 (+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)

+87ms Processing

Server:
testmachine:300619
Worker:
c4b904c7

+1h 53m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 23:35:31

+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)

+4ms Processing

Server:
testmachine:300619
Worker:
5001db95

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 21:42:12

+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)

+4ms Processing

Server:
testmachine:300619
Worker:
36117efa

+41m 30.203s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 20:29:19

+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)

+90ms Processing

Server:
testmachine:300619
Worker:
1d9a438d

+23m 15.074s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:47:45

+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)

+90ms Processing

Server:
testmachine:300619
Worker:
8f97b870

+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 19:24:33

+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:
6007c6d6

+5m 30.034s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:12:20

+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:
c60541b6

+3m 15.017s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:06:59

+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)

+ <1ms Processing

Server:
testmachine:300619
Worker:
1e2eb56a

+2m 10ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:03:32

+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:
ee5060f4

+59.994s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:01:39

+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)

+13ms Processing

Server:
testmachine:300619
Worker:
3f856cb3

+33.660s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 19:00:40

+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)

+90ms Processing

Server:
testmachine:300619
Worker:
167f37b9

+3ms Enqueued

Triggered by recurring job scheduler

10/24/2025 19:00:10 Created