Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnectionowningConnection, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions, DbConnectionInternaloldConnection, DbConnectionInternal&connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnectionouterConnection, DbConnectionFactoryconnectionFactory, TaskCompletionSource`1retry, DbConnectionOptionsuserOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1retry, SqlConnectionOverridesoverrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverridesoverrides)
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection() in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerStorage.cs:line 406
at Hangfire.SqlServer.SqlServerConnection.AcquireLock(Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 800
at Hangfire.SqlServer.SqlServerConnection.AcquireDistributedLock(Stringresource, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.SqlServer\SqlServerConnection.cs:line 67
at Hangfire.Storage.StorageConnectionExtensions.AcquireDistributedJobLock(IStorageConnectionconnection, StringjobId, TimeSpantimeout) in C:\projects\hangfire-525\src\Hangfire.Core\Storage\StorageConnectionExtensions.cs:line 33
at Hangfire.States.BackgroundJobStateChanger.ChangeState(StateChangeContextcontext) in C:\projects\hangfire-525\src\Hangfire.Core\States\BackgroundJobStateChanger.cs:line 69
at Hangfire.Server.Worker.TryChangeState(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId, IStatestate, IReadOnlyDictionary`2customData, String[]expectedStates, IFetchedJobcompleteJob, BackgroundJob&backgroundJob, CancellationTokeninitializeToken, CancellationTokenabortToken) in C:\projects\hangfire-525\src\Hangfire.Core\Server\Worker.cs:line 235
Token 2000000 is not valid in the scope of module System.ModuleHandle. (Parameter 'typeToken')
System.ArgumentOutOfRangeException: Token 2000000 is not valid in the scope of module System.ModuleHandle. (Parameter 'typeToken')
at System.ModuleHandle.ResolveTypeHandle(Int32typeToken, RuntimeTypeHandle[]typeInstantiationContext, RuntimeTypeHandle[]methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32metadataToken, Type[]genericTypeArguments, Type[]genericMethodArguments)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1&attributes, RuntimeModuledecoratedModule, Int32decoratedMetadataToken, RuntimeTypeattributeFilterType, BooleanmustBeInheritable, ListBuilder`1derivedAttributes)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.<CreateModel>g__FindCompiledModel|6_0(TypecontextType)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(BooleandesignTime)
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProviderp)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(TypeserviceType)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
at PGMS.DataProvider.EFCore.Services.UnitOfWork`1.GetDbSet[TEntity]()
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationQuery[TEntity](IUnitOfWorkunitOfWork, Expression`1filter)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at TEQ.WorkerRole.Services.AsyncTaskProcessorService.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Services\AsyncTaskProcessorService.cs:line 30
at TEQ.WorkerRole.Jobs.AsyncTaskProcessorJob.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Jobs\AsyncTaskProcessorJob.cs:line 27
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Objectobj, BindingFlagsinvokeAttr, Binderbinder, Object[]parameters, CultureInfoculture)
Token 2000000 is not valid in the scope of module System.ModuleHandle. (Parameter 'typeToken')
System.ArgumentOutOfRangeException: Token 2000000 is not valid in the scope of module System.ModuleHandle. (Parameter 'typeToken')
at System.ModuleHandle.ResolveTypeHandle(Int32typeToken, RuntimeTypeHandle[]typeInstantiationContext, RuntimeTypeHandle[]methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32metadataToken, Type[]genericTypeArguments, Type[]genericMethodArguments)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1&attributes, RuntimeModuledecoratedModule, Int32decoratedMetadataToken, RuntimeTypeattributeFilterType, BooleanmustBeInheritable, ListBuilder`1derivedAttributes)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.<CreateModel>g__FindCompiledModel|6_0(TypecontextType)
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel(BooleandesignTime)
at Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder.<>c.<TryAddCoreServices>b__8_4(IServiceProviderp)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at ResolveService(ILEmitResolverBuilderRuntimeContext, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(TypeserviceType)
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies()
at Microsoft.EntityFrameworkCore.DbContext.Set[TEntity]()
at PGMS.DataProvider.EFCore.Services.UnitOfWork`1.GetDbSet[TEntity]()
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationQuery[TEntity](IUnitOfWorkunitOfWork, Expression`1filter)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at TEQ.WorkerRole.Services.AsyncTaskProcessorService.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Services\AsyncTaskProcessorService.cs:line 30
at TEQ.WorkerRole.Jobs.AsyncTaskProcessorJob.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Jobs\AsyncTaskProcessorJob.cs:line 27
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Objectobj, BindingFlagsinvokeAttr, Binderbinder, Object[]parameters, CultureInfoculture)
An exception occurred during performance of the job. More details...
11/20/2025 18:20:06
System.ArgumentException (lw0mdlwk0001l5:1874)
A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure genericTypeArguments and genericMethodArguments are provided and contain enough context.
System.ArgumentException: A BadImageFormatException has been thrown while parsing the signature. This is likely due to lack of a generic context. Ensure genericTypeArguments and genericMethodArguments are provided and contain enough context. ---> System.BadImageFormatException: The signature is incorrect. The format of the file '/home/site/wwwroot/TEQ.Data.dll' is invalid.
at System.ModuleHandle.ResolveType(QCallModulemodule, Int32typeToken, IntPtr*typeInstArgs, Int32typeInstCount, IntPtr*methodInstArgs, Int32methodInstCount, ObjectHandleOnStacktype)
at System.ModuleHandle.ResolveTypeHandle(Int32typeToken, RuntimeTypeHandle[]typeInstantiationContext, RuntimeTypeHandle[]methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32metadataToken, Type[]genericTypeArguments, Type[]genericMethodArguments)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeModule.ResolveType(Int32metadataToken, Type[]genericTypeArguments, Type[]genericMethodArguments)
at System.Attribute.InternalIsDefined(PropertyInfoelement, TypeattributeType, Booleaninherit)
at System.Attribute.IsDefined(MemberInfoelement, TypeattributeType)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.HasLazyLoading(Typetype)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationQuery[TEntity](IUnitOfWorkunitOfWork, Expression`1filter)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at TEQ.WorkerRole.Services.AsyncTaskProcessorService.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Services\AsyncTaskProcessorService.cs:line 30
at TEQ.WorkerRole.Jobs.AsyncTaskProcessorJob.ProcessPendingTasks() in D:\a\1\s\src\TEQ.WorkerRole\Jobs\AsyncTaskProcessorJob.cs:line 27
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Objectobj, BindingFlagsinvokeAttr, Binderbinder, Object[]parameters, CultureInfoculture)
An exception occurred during performance of the job. More details...
11/20/2025 17:44:06
System.Exception (lw0mdlwk0001l5:1874)
Incomplete run - we encounter some problems converting users
System.Exception: Incomplete run - we encounter some problems converting users
at TEQ.WorkerRole.Jobs.Conversions.ConvertAccountTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerRole\Jobs\Conversions\ConvertAccountTask.cs:line 74
at TEQ.WorkerRole.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerRole\Jobs\BaseBackgroundTask.cs:line 37
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.RuntimeMethodInfo.Invoke(Objectobj, BindingFlagsinvokeAttr, Binderbinder, Object[]parameters, CultureInfoculture)