Hello,
I have implmented Hangfire and works fine in localhost (Scheduling, Recurring task, Enqueue…) But same code will not work on server when i published. Throwing exception as “Background job creation failed. See inner exception for details”.
Message: Background job creation failed. See inner exception for details.
StackTrace: at Hangfire.BackgroundJobClient.Create(Job job, IState state)
at Hangfire.BackgroundJobClientExtensions.Schedule(IBackgroundJobClient client, Expression1 methodCall, DateTimeOffset enqueueAt) at Hangfire.BackgroundJob.Schedule(Expression
1 methodCall, DateTimeOffset enqueueAt)
Source: Hangfire.Core
TargetSite: System.String Create(Hangfire.Common.Job, Hangfire.States.IState)