Search code examples
c#iisiis-7.5hangfire

Hangfire jobs get stuck in Queues and never get processed when deployed in Local IIS


I am having a weird issue here.

I have a simple MVC5 application + Hangfire 1.2.0.

When I was running the app with IIS Express, the queued jobs successfully get processed after queued.

But when I switch to Local IIS the queued jobs never get processed (executed) and stay stuck in the queue. It looks like background server is not firing the job at all.

I am using Windows 7 and IIS 7.5.

Am I missing an important configuration?


Solution

  • Found an answer...I posted to the same topic I created in Hangfire forum:

    http://discuss.hangfire.io/t/hangfire-does-not-process-jobs-when-deployed-in-iis-7-5/386/2

    Basically the problem was that I had an <identity impersonation="true" ... /> entry and removing it solved the problem...