ServiceConsumerNotificationLogCleaner.ExecuteAsync

// Id: #90
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
1761274803

State

10/24/2025 07:30:38 (+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:
d2026eba

+1h 49m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 07:30:38

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

+1h 11m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 05:40:47

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

+42m 296ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 04:29:52

+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:
4cd8e0a5

+25m 15.087s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:47:43

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

+86ms Processing

Server:
testmachine:300619
Worker:
1d9a438d

+11m 45.070s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:22:31

+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

+4m 45.024s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:10:47

+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:
05daaa54

+3m 15.016s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:06:03

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

+3ms Processing

Server:
testmachine:300619
Worker:
7773b040

+1m 3ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:02:49

+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

+1m 15s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:01:48

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

+33.094s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/24/2025 03:00:26

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

+ <1ms Enqueued

Triggered by recurring job scheduler

10/24/2025 03:00:03 Created