ServiceConsumerNotificationLogCleaner.ExecuteAsync

// Id: #132
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
1761426005

State

10/26/2025 01:39:12 (+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:
36117efa

+1h 53m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/26/2025 01:39: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)

+3ms Processing

Server:
testmachine:300619
Worker:
289892e6

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 23:45:42

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

+44m 296ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 22:33:26

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

+24m 45.087s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:49:13

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

+13m 14.997s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:24:35

+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:
5001db95

+6m 33ms Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:11: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:
1d9a438d

+2m 45.014s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:05: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)

+3ms Processing

Server:
testmachine:300619
Worker:
e44fa236

+1m 15.004s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:02: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:
05daaa54

+30s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:01:21

+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:
7773b040

+49.830s Enqueued

Triggered by DelayedJobScheduler

+ <1ms Scheduled

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

Enqueue at:
10/25/2025 21:00:43

+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:
8f97b870

+3ms Enqueued

Triggered by recurring job scheduler

10/25/2025 21:00:05 Created