Job

Can not find the target method.

Id
#3759

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"UpdateUsersCount"
RetryCount
10
Time
1718726410

State

06/18/2024 20:36:04 (+49ms) 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

+26ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
0375dd22

+1h 52m Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/18/2024 20:35:50

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

+21ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
0375dd22

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
06/18/2024 18:43:09

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

+46ms Processing

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

+40m 22.107s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/18/2024 17:30:38

+49ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+27ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
2894aec2

+25m 19.710s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/18/2024 16:50:09

+134ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+42ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
aa24e3a0

+12m 17.863s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/18/2024 16:25:00

+82ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+54ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
7aa1cb61

+6m 15.918s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/18/2024 16:12:34

+58ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+36ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
5203498a

+3m 15.921s Enqueued

Triggered by DelayedJobScheduler

+7ms Scheduled

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

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

+73ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+52ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
600d2e14

+1m 45.744s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
06/18/2024 16:03:12

+129ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+81ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
2894aec2

+45.127s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/18/2024 16:01:13

+87ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-tkdbw: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.UpdateUsersCount() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 359
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+55ms Processing

Server:
scheduler-deployment-6c68bfb787-tkdbw:1
Worker:
2894aec2

+29.814s Enqueued

Triggered by DelayedJobScheduler

+5ms Scheduled

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

Enqueue at:
06/18/2024 16:00:29

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

+103ms Processing

Server:
scheduler-deployment-d4f688cf7-grvbw:1
Worker:
21a633e3

+17ms Enqueued

Triggered by recurring job scheduler

06/18/2024 16:00:11 Created