Job

Can not find the target method.

Id
#5047

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"CheckTrials"
RetryCount
10
Time
1719295213

State

06/25/2024 10:33:15 (+75ms) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-2p7lq: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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+1.033s Processing

Server:
scheduler-deployment-6c68bfb787-2p7lq:1
Worker:
eca01294

+1h 50m Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/25/2024 10:33:09

+62ms 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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+33ms Processing

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

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/25/2024 08:42:15

+58ms 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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+32ms Processing

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

+41m 45.262s Enqueued

Triggered by DelayedJobScheduler

+16ms Scheduled

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

Enqueue at:
06/25/2024 07:30:07

+198ms Failed

An exception occurred during performance of the job.

System.InvalidOperationException (scheduler-deployment-6c68bfb787-2p7lq: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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+100ms Processing

Server:
scheduler-deployment-6c68bfb787-2p7lq:1
Worker:
bc2ac775

+22m 42.328s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/25/2024 06:48:20

+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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+40ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
298b7619

+13m 17.321s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/25/2024 06:25:27

+132ms 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:
38b31530

+7m 1.478s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/25/2024 06:12:17

+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_DbContextDependencies()
   at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+58ms Processing

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

+2m 45.827s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/25/2024 06:05:11

+79ms 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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+49ms Processing

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

+1m 472ms Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/25/2024 06:02:30

+99ms 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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+46ms Processing

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

+1m 500ms Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/25/2024 06:01:28

+72ms 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.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.GetTenants(Expression`1 filter) in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 493
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckTrials() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 401
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+36ms Processing

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

+20.457s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/25/2024 06:00:33

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

+66ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
e6f26c74

+10ms Enqueued

Triggered by recurring job scheduler

06/25/2024 06:00:13 Created