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.
Illegal or unimplemented ELEM_TYPE in signature. The format of the file '/home/site/wwwroot/TEQ.WorkerJobs.dll' is invalid.
System.BadImageFormatException: Illegal or unimplemented ELEM_TYPE in signature. The format of the file '/home/site/wwwroot/TEQ.WorkerJobs.dll' is invalid.
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Reflection.RtFieldInfo.InitializeFieldType()
at System.Linq.Expressions.Expression.Equal(Expressionleft, Expressionright)
at '.ter.'
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Illegal or unimplemented ELEM_TYPE in signature. The format of the file '/home/site/wwwroot/TEQ.WorkerJobs.dll' is invalid.
System.BadImageFormatException: Illegal or unimplemented ELEM_TYPE in signature. The format of the file '/home/site/wwwroot/TEQ.WorkerJobs.dll' is invalid.
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Reflection.RtFieldInfo.InitializeFieldType()
at '.ter.'
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: File is corrupt. (0x8013110E)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype, BooleangetNames)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at bortOn.mand.tIdentity
--- End of stack trace from previous location ---
at bute.sername.eadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 60
--- End of stack trace from previous location ---
at _5.rap9.<ReadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: File is corrupt. (0x8013110E)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype, BooleangetNames)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at bortOn.mand.tIdentity
--- End of stack trace from previous location ---
at bute.sername.eadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 60
--- End of stack trace from previous location ---
at _5.rap9.<ReadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
System.BadImageFormatException: File is corrupt. (0x8013110E)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.GetEnumValuesAndNames(QCallTypeHandleenumType, ObjectHandleOnStackvalues, ObjectHandleOnStacknames, BOOLgetNames)
at System.Enum.EnumInfo`1.Create(RuntimeTypetype)
at System.RuntimeType.IGenericCacheEntry`1.CreateAndCache(RuntimeTypetype)
at System.Enum.<GetEnumInfo>g__InitializeEnumInfo|5_0[TStorage](RuntimeTypeenumType, BooleangetNames)
at bortOn.mand.tIdentity
--- End of stack trace from previous location ---
at bute.sername.eadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 60
--- End of stack trace from previous location ---
at _5.rap9.<ReadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
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.FilterCustomAttributeRecord(MetadataTokencaCtorToken, MetadataImport&scope, RuntimeModuledecoratedModule, MetadataTokendecoratedToken, RuntimeTypeattributeFilterType, BooleanmustBeInheritable, ListBuilder`1&derivedAttributes, RuntimeType&attributeType, IRuntimeMethodInfo&ctorWithParameters, Boolean&isVarArg)
at System.Reflection.CustomAttribute.IsDefined(RuntimeTypetype, RuntimeTypecaType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitBinary(BinaryExpressionbinary)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitLambda[T](Expression`1lambda)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitUnary(UnaryExpressionunary)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.FindFirstOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindFirstAsync[TEntity](Expression`1filter)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindFirstAsync[TEntity](Expression`1filter)
at '.ter.'
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
07/21/2026 15:32:55
System.AggregateException (ln0sdlwk0009s2:1874)
An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.)
System.AggregateException: An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.) ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
07/21/2026 15:32:55
System.AggregateException (ln0sdlwk0009s2:1874)
An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.)
System.AggregateException: An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.) ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
Failed to change state to a 'Failed' one due to an exception after 10 retry attempts More details...
07/21/2026 15:32:56
System.AggregateException (ln0sdlwk0009s2:1874)
An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.)
System.AggregateException: An error occurred while writing to logger(s). (Format of the executable (.exe) or library (.dll) is invalid.) ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.Diagnostics.StackTrace.ToString(TraceFormattraceFormat, StringBuildersb)
at System.Exception.get_StackTrace()
at System.BadImageFormatException.ToString()
at Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter.Write[TState](LogEntry`1&logEntry, IExternalScopeProviderscopeProvider, TextWritertextWriter)
at Microsoft.Extensions.Logging.Console.ConsoleLogger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Microsoft.Extensions.Logging.Logger.<Log>g__LoggerLog|14_0[TState](LogLevellogLevel, EventIdeventId, ILoggerlogger, Exceptionexception, Func`3formatter, List`1&exceptions, TState&state)
--- End of inner exception stack trace ---
at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1exceptions)
at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevellogLevel, EventIdeventId, TStatestate, Exceptionexception, Func`3formatter)
at Hangfire.AspNetCore.AspNetCoreLog.Log(LogLevellogLevel, Func`1messageFunc, Exceptionexception)
at Hangfire.Logging.LogExtensions.ErrorException(ILoglogger, Stringmessage, Exceptionexception)
at Hangfire.States.StateMachine.InvokeOnStateElection(KeyValuePair`2x)
An attempt was made to load a program with an incorrect format.
(0x8007000B)
System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
(0x8007000B)
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Signature.Init(ObjectHandleOnStack_this, Void*pCorSig, Int32cCorSig, RuntimeFieldHandleInternalfieldHandle, RuntimeMethodHandleInternalmethodHandle)
at System.Reflection.RtFieldInfo.InitializeFieldType()
at System.Linq.Expressions.Expression.Equal(Expressionleft, Expressionright)
at _5.rap9.<ReadPastRoundsAsync>d__6 in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
--- End of stack trace from previous location ---
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)