Job

Can not find the target method.

Id
#4928

Parameters

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

State

06/24/2024 20:35:14 (+46ms) 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)

+27ms Processing

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

+1h 52m Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 20:35:04

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

+69ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
9b61bb72

+1h 11m Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 18:42:36

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

+29ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
55c1c05a

+42m 8.135s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 17:30:37

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

+29ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
55c1c05a

+24m 4.342s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 16:48:29

+69ms 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_InternalServiceProvider()
   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)

+28ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
9b61bb72

+13m 17.116s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 16:24:12

+61ms Failed

An exception occurred during processing of a background job.

System.InvalidOperationException (scheduler-deployment-78bb4d6f88-bplmp: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

+38ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
6517bca8

+5m 30.998s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
06/24/2024 16:11:08

+194ms 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_InternalServiceProvider()
   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)

+77ms Processing

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

+2m 30.557s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 16:05:34

+80ms 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_InternalServiceProvider()
   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)

+54ms Processing

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

+1m 15.284s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 16:03:06

+61ms 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_InternalServiceProvider()
   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)

+51ms Processing

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

+1m 15.392s Enqueued

Triggered by DelayedJobScheduler

+10ms Scheduled

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

Enqueue at:
06/24/2024 16:01:45

+126ms 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_InternalServiceProvider()
   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)

+72ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
84aa7436

+25.017s Enqueued

Triggered by DelayedJobScheduler

+11ms Scheduled

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

Enqueue at:
06/24/2024 16:00:30

+171ms 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

+65ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
2bd2dfc5

+12ms Enqueued

Triggered by recurring job scheduler

06/24/2024 16:00:09 Created