Job

Can not find the target method.

Id
#4907

Parameters

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

State

06/24/2024 17:09:34 (+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.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckLostDeployments() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 313
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckLostDeployments() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 334
   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:
8f027aae

+1h 49m Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 17:09:25

+51ms 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_Model()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
   at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
   at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckLostDeployments() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 313
   at Timetta.PeriodicJobsSender.MultiTenantPeriodicJobsService.CheckLostDeployments() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 334
   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:
216d81ed

+1h 12m Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/24/2024 15:19:35

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

+73ms Processing

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

+41m 25.655s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/24/2024 14:06:38

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

+30ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
7b38096f

+22m 3.102s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 13:25:14

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

+93ms Processing

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

+11m 46.842s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

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

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

+157ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
76719a23

+6m 1.355s Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
06/24/2024 12:51:25

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

+46ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
054508e1

+3m 15.630s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 12:45:23

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

+31ms Processing

Server:
scheduler-deployment-78bb4d6f88-bplmp:1
Worker:
91b57388

+1m 104ms Enqueued

Triggered by DelayedJobScheduler

+1ms Scheduled

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

Enqueue at:
06/24/2024 12:42:19

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

+29ms Processing

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

+30.017s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

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

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

+36ms Processing

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

+38.066s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 12:40:43

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

+58ms Processing

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

+15ms Enqueued

Triggered by recurring job scheduler

06/24/2024 12:40:10 Created