Job

Can not find the target method.

Id
#4960

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"UpdateCalculatedFields"
RetryCount
10
Time
1719259208

State

06/25/2024 00:35:16 (+43ms) Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-d4f688cf7-grvbw: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

+56ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
88eea726

+1h 50m Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/25/2024 00:35:14

+45ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-d4f688cf7-grvbw: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-d4f688cf7-grvbw:1
Worker:
21a633e3

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

Retry attempt 9 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 22:45:08

+66ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+57ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
b3c7a6c8

+41m 22.160s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 8 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 21:32:15

+59ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+31ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
6e9c78ab

+24m 50.221s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

Retry attempt 7 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 20:50:59

+48ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
7a23b31d

+13m 16.817s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/24/2024 20:26:00

+60ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-d4f688cf7-grvbw: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

+60ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
b6cfcb09

+6m 15.353s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 5 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 20:12:56

+56ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.043s Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
e619ad1e

+3m 433ms Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 4 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 20:06:31

+57ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+38ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
6e9c78ab

+2m 342ms Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 3 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 20:03:27

+53ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+25ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
8f027aae

+45.502s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

Retry attempt 2 of 10: No database provider has been configured for this…

Enqueue at:
06/24/2024 20:01:37

+130ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-hfx6c:1)

No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.

System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
   at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
   at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
   at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetActiveTenants() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 484
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.UpdateCalculatedFields() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 339
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+86ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
e3d0abef

+44.205s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
06/24/2024 20:00:45

+223ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-d4f688cf7-grvbw: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

+146ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
e28217c0

+14ms Enqueued

Triggered by recurring job scheduler

06/24/2024 20:00:08 Created