AsyncTaskProcessorJob.ProcessPendingTasks

// Id: #17887
using TEQ.WorkerRole.Jobs;

var asyncTaskProcessorJob = Activate<AsyncTaskProcessorJob>();
await asyncTaskProcessorJob.ProcessPendingTasks();

Parameters

CurrentCulture
""
RecurringJobId
"process-pending-tasks"
Time
1763662805

State

11/20/2025 18:20:06 (+426ms) Failed

An exception occurred during performance of the job.

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(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)

   --- End of inner exception stack trace ---
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Attribute.InternalIsDefined(PropertyInfo element, Type attributeType, Boolean inherit)
   at System.Attribute.IsDefined(MemberInfo element, Type attributeType)
   at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.HasLazyLoading(Type type)
   at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationQuery[TEntity](IUnitOfWork unitOfWork, Expression`1 filter)
   at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWork unitOfWork, Expression`1 filter, Func`2 orderBy, Int32 fetchSize, Int32 offset)
   at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1 filter, Func`2 orderBy, Int32 fetchSize, Int32 offset)
   at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindTopAsync[TEntity](Expression`1 filter, Func`2 orderBy, Int32 fetchSize, Int32 offset)
   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(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+70ms Processing

Server:
lw0mdlwk0001l5:1874
Worker:
a42ca08c

+20ms Enqueued

Triggered by recurring job scheduler

11/20/2025 18:20:06 Created