# Background job creation failed. See inner exception for details. On Server

**URL:** <https://discuss.hangfire.io/t/background-job-creation-failed-see-inner-exception-for-details-on-server/4295>\
**Category:** question\
**Created:** [January 27, 2018, 12:29pm UTC](https://discuss.hangfire.io/t/background-job-creation-failed-see-inner-exception-for-details-on-server/4295 "2018-01-27T12:29:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aquib\_Raitech](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aquib\_Raitech](https://discuss.hangfire.io/u/Aquib_Raitech)\
**Post date:** [January 27, 2018, 12:29pm UTC](https://discuss.hangfire.io/t/background-job-creation-failed-see-inner-exception-for-details-on-server/4295/1 "2018-01-27T12:29:17Z")

</div>

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, Expression`1 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)
