Job

Can not find the target method.

Id
#13785

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"CheckLostDeployments"
RetryCount
10
Time
1723167603

State

08/09/2024 06:11:22 (+12ms) Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-llbql:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+9ms Processing

Server:
scheduler-deployment-5d97984847-llbql:1
Worker:
6b671536

+1h 51m Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 10 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 06:11:15

+24ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-llbql:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+21ms Processing

Server:
scheduler-deployment-5d97984847-llbql:1
Worker:
75a798f1

+1h 10m Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

Retry attempt 9 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 04:20:02

+33ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-llbql:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+33ms Processing

Server:
scheduler-deployment-5d97984847-llbql:1
Worker:
b8adbd7d

+42m 41.964s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 8 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 03:09:50

+12ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-llbql:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+18ms Processing

Server:
scheduler-deployment-5d97984847-llbql:1
Worker:
cd0f7d34

+24m 17.394s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 7 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 02:26:57

+13ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-llbql:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+22ms Processing

Server:
scheduler-deployment-5d97984847-llbql:1
Worker:
baf31576

+13m 519ms Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 6 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 02:02:44

+35ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-ggsbb:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+32ms Processing

Server:
scheduler-deployment-5d97984847-ggsbb:1
Worker:
25d7d6b8

+5m 1.351s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 5 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 01:49:52

+16ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-ggsbb:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+29ms Processing

Server:
scheduler-deployment-5d97984847-ggsbb:1
Worker:
b751bdae

+1m 45.070s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

Retry attempt 4 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 01:44:50

+27ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-ggsbb:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+25ms Processing

Server:
scheduler-deployment-5d97984847-ggsbb:1
Worker:
79f09f34

+1m 30.343s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

Retry attempt 3 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 01:42:54

+24ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-ggsbb:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+26ms Processing

Server:
scheduler-deployment-5d97984847-ggsbb:1
Worker:
cc749927

+1m 21ms Enqueued

Triggered by DelayedJobScheduler

+8ms Scheduled

Retry attempt 2 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 01:41:29

+35ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-ggsbb:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+34ms Processing

Server:
scheduler-deployment-5d97984847-ggsbb:1
Worker:
cc749927

+32.009s Enqueued

Triggered by DelayedJobScheduler

+8ms Scheduled

Retry attempt 1 of 10: Unable to resolve service for type 'Microsoft.Ent…

Enqueue at:
08/09/2024 01:40:28

+22ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-5d97984847-bzz2h:1)

Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.

System.InvalidOperationException: Unable to resolve service for type 'Microsoft.EntityFrameworkCore.IDbContextFactory`1[Red.WorkPoint.Tenants.Data.TenantsContext]' while attempting to activate 'Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\CoreBackgroundJobPerformer.cs:line 49
   at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass10_0.<PerformJobWithFilters>b__0() in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 121
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 168
   at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilter filter, PerformingContext preContext, Func`1 continuation) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 140
   at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContext context) in C:\projects\hangfire-525\src\Hangfire.Core\Server\BackgroundJobPerformer.cs:line 71
   at Hangfire.Server.Worker.PerformJob(BackgroundProcessContext context, IStorageConnection connection, String jobId, BackgroundJob backgroundJob, IReadOnlyDictionary`2& customData) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 315

+24ms Processing

Server:
scheduler-deployment-5d97984847-bzz2h:1
Worker:
dd93b081

+5ms Enqueued

Triggered by recurring job scheduler

08/09/2024 01:40:03 Created