Job

Can not find the target method.

Id
#4934

Parameters

CurrentCulture
""
CurrentUICulture
""
RecurringJobId
"CheckOverdueTimesheet"
RetryCount
10
Time
1719245701

State

06/24/2024 20:50:03 (+103ms) 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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+37ms Processing

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

+1h 52m Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

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

+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.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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   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 13m 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:57:17

+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.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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+30ms Processing

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

+42m 7.189s 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:44:18

+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_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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+41ms Processing

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

+25m 19.925s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 17:02:12

+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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+169ms Processing

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

+10m 46.951s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/24/2024 16:36:56

+48ms Failed

An exception occurred during performance of the job.

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

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

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

+45ms Processing

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

+5m 15.977s Enqueued

Triggered by DelayedJobScheduler

+2ms Scheduled

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

Enqueue at:
06/24/2024 16:26:10

+45ms 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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+31ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
9490c67f

+3m 15.379s 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:20:51

+74ms 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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+43ms Processing

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

+1m 30.242s 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:17:28

+74ms 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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+34ms Processing

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

+45.057s Enqueued

Triggered by DelayedJobScheduler

+4ms Scheduled

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

Enqueue at:
06/24/2024 16:15:55

+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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+24ms Processing

Server:
scheduler-deployment-6c68bfb787-hfx6c:1
Worker:
351b6096

+21.696s Enqueued

Triggered by DelayedJobScheduler

+3ms Scheduled

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

Enqueue at:
06/24/2024 16:15:23

+112ms 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.CheckOverdueTimesheet() in /src/Timetta.PeriodicJobsSender/MultiTenantPeriodicJobsService.cs:line 145
   at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

+87ms Processing

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

+21ms Enqueued

Triggered by recurring job scheduler

06/24/2024 16:15:01 Created