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.
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.RuntimeType.IsDefined(TypeattributeType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken)
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken)
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModuledecoratedModule, Int32decoratedMetadataToken, RuntimeTypeattributeFilterType, Int32attributeCtorToken, BooleanmustBeInheritable)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseZoneAwareTask.cs:line 61
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken) in D:\a\1\s\src\TEQ.WorkerJobs\Jobs\BaseBackgroundTask.cs:line 39
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.RuntimeType.IsDefined(TypeattributeType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken)
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken)
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.RuntimeType.IsDefined(TypeattributeType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken)
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken)
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.RuntimeType.IsDefined(TypeattributeType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken)
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken)
at InvokeStub_TaskAwaiter.GetResult(Object,Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Objectobj, BindingFlagsinvokeAttr)
Format of the executable (.exe) or library (.dll) is invalid.
System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at System.RuntimeType.IsDefined(TypeattributeType, Booleaninherit)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitConstant(ConstantExpressionconstant)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMember(MemberExpressionmember)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
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.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.ExpressionTreeFuncletizer.VisitMethodCall(MethodCallExpressionmethodCall)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expressionquery, CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable`1.GetAsyncEnumerator(CancellationTokencancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1source, CancellationTokencancellationToken)
at PGMS.DataProvider.EFCore.Services.BaseOperationEntityRepository`1.GetOperationAsync[TEntity](IUnitOfWorkunitOfWork, Expression`1filter, Func`2orderBy, Int32fetchSize, Int32offset)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at PGMS.DataProvider.EFCore.Services.BaseEntityRepository`1.FindAllAsync[TEntity](Expression`1filter, Func`2orderBy)
at TEQ.WorkerJobs.Jobs.BaseZoneAwareTask.ExecuteTask(PerformContextcontext, CancellationTokencancellationToken)
at TEQ.WorkerJobs.Jobs.BaseBackgroundTask.Execute(PerformContextcontext, CancellationTokencancellationToken)
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/22/2026 14:36:53
System.AggregateException (lw1mdlwk000074:1903)
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.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/22/2026 14:36:53
System.AggregateException (lw1mdlwk000074:1903)
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.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/22/2026 14:37:54
System.AggregateException (lw1mdlwk000074:1903)
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.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/22/2026 14:37:54
System.AggregateException (lw1mdlwk000074:1903)
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.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)