Reputation: 179
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?
Upvotes: 0
Views: 5874
Reputation: 61
I ran into this issue after deploying against a SQL Server instance with permissions locked down. Granting the following to the database user the web application was connecting with addressed the issue:
Upvotes: 2
Reputation: 179
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...
Upvotes: 1