# \#msmq

**URL:** https://discuss.hangfire.io/tag/msmq/2.md

[Latest](https://discuss.hangfire.io/latest.md) · [Categories](https://discuss.hangfire.io/categories.md) · [Tags](https://discuss.hangfire.io/tags.md)

---

## [Enqueued jobs won't start processing](https://discuss.hangfire.io/t/enqueued-jobs-wont-start-processing/1044)

<div class="topic-metadata">

**Author:** [@marcselman](https://discuss.hangfire.io/u/marcselman)\
**Replies:** 11\
**Last updated:** [February 7, 2020, 2:57pm UTC](https://discuss.hangfire.io/t/enqueued-jobs-wont-start-processing/1044 "2020-02-07T14:57:18Z")

</div>

Hi, I just setup MSMQ using a private queue (private$\\hangfire-default). At first I had some access problems but when adding the ApplicationPoolIdentity (IIS APPPOOL\\{application pool name}) with full access that was sol…

---

## [: 'Method 'Enqueue' in type 'Hangfire.SqlServer.Msmq.MsmqJobQueue' from assembly 'Hangfire.SqlServer.Msmq, Version=1.7.5.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'](https://discuss.hangfire.io/t/method-enqueue-in-type-hangfire-sqlserver-msmq-msmqjobqueue-from-assembly-hangfire-sqlserver-msmq-version-1-7-5-0-culture-neutral-publickeytoken-null-does-not-have-an-implementation/6930)

<div class="topic-metadata">

**Author:** [@James\_Tupper](https://discuss.hangfire.io/u/James_Tupper)\
**Replies:** 0\
**Last updated:** [December 20, 2019, 7:30pm UTC](https://discuss.hangfire.io/t/method-enqueue-in-type-hangfire-sqlserver-msmq-msmqjobqueue-from-assembly-hangfire-sqlserver-msmq-version-1-7-5-0-culture-neutral-publickeytoken-null-does-not-have-an-implementation/6930 "2019-12-20T19:30:50Z")

</div>

I’m getting the exception 'Method 'Enqueue' in type 'Hangfire.SqlServer.Msmq.MsmqJobQueue' from assembly 'Hangfire.SqlServer.Msmq, Version=1.7.5.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.' …

---

## [Configuring Hangfire SqlServer with MSMQ on windows application](https://discuss.hangfire.io/t/configuring-hangfire-sqlserver-with-msmq-on-windows-application/4845)

<div class="topic-metadata">

**Author:** [@Azeem\_Anwar](https://discuss.hangfire.io/u/Azeem_Anwar)\
**Replies:** 1\
**Last updated:** [July 4, 2018, 10:55am UTC](https://discuss.hangfire.io/t/configuring-hangfire-sqlserver-with-msmq-on-windows-application/4845 "2018-07-04T10:55:43Z")

</div>

Configuration GlobalConfiguration.Configuration .UseSqlServerStorage(GetConnectionStringBuilder().ConnectionString) .UseMsmqQueues(@“FormatName:Direct=OS:localhost\\hangfire-{0}”); Starting Server server = new Backgr…

---

## [Hangfire-Msmq issue](https://discuss.hangfire.io/t/hangfire-msmq-issue/4688)

<div class="topic-metadata">

**Author:** [@maria.amores](https://discuss.hangfire.io/u/maria.amores)\
**Replies:** 0\
**Last updated:** [May 16, 2018, 9:20am UTC](https://discuss.hangfire.io/t/hangfire-msmq-issue/4688 "2018-05-16T09:20:11Z")

</div>

Hi, I have created a console app in C# that manages the messages arrivals to a Private Queue. The hangfire part is working i.e. when I enqueue the jobs, it creates a new message in the Private Queue and it shows it in …

---

## [MSMQ with Multiple Servers](https://discuss.hangfire.io/t/msmq-with-multiple-servers/4257)

<div class="topic-metadata">

**Author:** [@a452](https://discuss.hangfire.io/u/a452)\
**Replies:** 0\
**Last updated:** [January 17, 2018, 5:54am UTC](https://discuss.hangfire.io/t/msmq-with-multiple-servers/4257 "2018-01-17T05:54:02Z")

</div>

I’m having a strange bug where a recurring job only succeeds sometimes. The jobs don’t show up in the Dashboard but the Enqueued counter goes up in the Dashboard, and in the recurring job you can click on the last job an…

---

## [Hangfire job cancellation issue](https://discuss.hangfire.io/t/hangfire-job-cancellation-issue/3718)

<div class="topic-metadata">

**Author:** [@Bhupinder\_Singh](https://discuss.hangfire.io/u/Bhupinder_Singh)\
**Replies:** 0\
**Last updated:** [August 21, 2017, 2:01pm UTC](https://discuss.hangfire.io/t/hangfire-job-cancellation-issue/3718 "2017-08-21T14:01:13Z")

</div>

Hi Support, I am started to use Hangfire library in few of my projects. I pretty much make use of queuing background job with msmq. However, there is a requirement in my project to cancel the current running background j…

---

## [Hangfire with Azure sql database and MSMQ keeps some messages en-queued for good](https://discuss.hangfire.io/t/hangfire-with-azure-sql-database-and-msmq-keeps-some-messages-en-queued-for-good/3033)

<div class="topic-metadata">

**Author:** [@maximuskh](https://discuss.hangfire.io/u/maximuskh)\
**Replies:** 0\
**Last updated:** [March 6, 2017, 6:20am UTC](https://discuss.hangfire.io/t/hangfire-with-azure-sql-database-and-msmq-keeps-some-messages-en-queued-for-good/3033 "2017-03-06T06:20:12Z")

</div>

I am using hangfire 1.6.9 and configured to use sql azure as storage and MSMQ. When some messages are en-queued and processed successfully, there are some which stays in en-queued state for ever. I observed that by not u…

---

## [Continuation with distributed processing](https://discuss.hangfire.io/t/continuation-with-distributed-processing/2764)

<div class="topic-metadata">

**Author:** [@Emyr](https://discuss.hangfire.io/u/Emyr)\
**Replies:** 0\
**Last updated:** [December 19, 2016, 5:20pm UTC](https://discuss.hangfire.io/t/continuation-with-distributed-processing/2764 "2016-12-19T17:20:34Z")

</div>

I have a webapp and I'm trying to use Hangfire to offload processing of large reports onto a second server. I'm planning to use some kind of MQ to avoid latency. User loads App1 report page, configures parameters, cli…

---

## [Job automatically rescheduled after 1 min when using MSMQ with DTC tr](https://discuss.hangfire.io/t/job-automatically-rescheduled-after-1-min-when-using-msmq-with-dtc-tr/2044)

<div class="topic-metadata">

**Author:** [@pedja7](https://discuss.hangfire.io/u/pedja7)\
**Replies:** 5\
**Last updated:** [November 24, 2016, 2:59pm UTC](https://discuss.hangfire.io/t/job-automatically-rescheduled-after-1-min-when-using-msmq-with-dtc-tr/2044 "2016-11-24T14:59:46Z")

</div>

I am using Hangfire 1.5.6 with MSMQ and DTC transactions (in order to use remote MSMQ). The problem is that every long running job (\> 1 min) is automatically rescheduled after 1 min. This is also done in strange order:…

---

## [Multiple Background Job Servers with different MSMQ Queues](https://discuss.hangfire.io/t/multiple-background-job-servers-with-different-msmq-queues/2668)

<div class="topic-metadata">

**Author:** [@Jonah\_Simpson](https://discuss.hangfire.io/u/Jonah_Simpson)\
**Replies:** 1\
**Last updated:** [November 17, 2016, 7:04pm UTC](https://discuss.hangfire.io/t/multiple-background-job-servers-with-different-msmq-queues/2668 "2016-11-17T19:04:32Z")

</div>

Hey Folks, I've got a Hangfire site setup using MSMQ + SQL Server and I've either found a bug or got a configuration issue as 10-20% of the time when I enqueue a Job, it ends up in the SQL Server queue instead of the …

---

## [MSMQ with SQL Server Creation on HangfireServer](https://discuss.hangfire.io/t/msmq-with-sql-server-creation-on-hangfireserver/2454)

<div class="topic-metadata">

**Author:** [@sreenath](https://discuss.hangfire.io/u/sreenath)\
**Replies:** 1\
**Last updated:** [September 23, 2016, 4:53am UTC](https://discuss.hangfire.io/t/msmq-with-sql-server-creation-on-hangfireserver/2454 "2016-09-23T04:53:05Z")

</div>

I created Hangfire server as mentioned above but It shows error while running server.The error shows that the queue does not have sufficient permission to perform this operation.But when i accessing the queue with new Me…

---

## [V1.6.1 Regex bug = Unable to parse](https://discuss.hangfire.io/t/v1-6-1-regex-bug-unable-to-parse/2269)

<div class="topic-metadata">

**Author:** [@apetkovic](https://discuss.hangfire.io/u/apetkovic)\
**Replies:** 1\
**Last updated:** [August 4, 2016, 11:53am UTC](https://discuss.hangfire.io/t/v1-6-1-regex-bug-unable-to-parse/2269 "2016-08-04T11:53:28Z")

</div>

Using v1.6.1 I get the error "Unable to parse" when I click the "Jobs" tab on the dashboard. This looks like an issue with the regex here: https://github.com/HangfireIO/Hangfire/blob/4dec6435fb552364833c359079230ad04fd98…

---

## [Schedule works but Enqueue fails with msmq remote private queue](https://discuss.hangfire.io/t/schedule-works-but-enqueue-fails-with-msmq-remote-private-queue/2182)

<div class="topic-metadata">

**Author:** [@apetkovic](https://discuss.hangfire.io/u/apetkovic)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 3:29pm UTC](https://discuss.hangfire.io/t/schedule-works-but-enqueue-fails-with-msmq-remote-private-queue/2182 "2016-07-08T15:29:14Z")

</div>

BackgroundJob.Enqueue throws this exception when using msmq remote private queue: \[InvalidOperationException:Message Queuing has not been installed on this computer.\] at System.Messaging.Interop.SafeNativeMethods.MQB…

---

## [Jobs being created in database, stuck as Enqueued](https://discuss.hangfire.io/t/jobs-being-created-in-database-stuck-as-enqueued/583)

<div class="topic-metadata">

**Author:** [@ssewell](https://discuss.hangfire.io/u/ssewell)\
**Replies:** 24\
**Last updated:** [July 8, 2016, 2:11pm UTC](https://discuss.hangfire.io/t/jobs-being-created-in-database-stuck-as-enqueued/583 "2016-07-08T14:11:08Z")

</div>

While performing a simple Enqueue such as: BackgroundJob.Enqueue(() =\> Console.WriteLine("Test!")); HangFire will only attempt to process the job around 60% of the time. Further research shows that the job is being su…

---

## [Transaction Scopes and MSMQ](https://discuss.hangfire.io/t/transaction-scopes-and-msmq/1372)

<div class="topic-metadata">

**Author:** [@ogoodwin](https://discuss.hangfire.io/u/ogoodwin)\
**Replies:** 6\
**Last updated:** [June 28, 2016, 2:46pm UTC](https://discuss.hangfire.io/t/transaction-scopes-and-msmq/1372 "2016-06-28T14:46:09Z")

</div>

I am currently using Hangfire with MSMQ. I have come across a strange issue where if I attempt to queue a job into hangfire from within a TransactionScope, the job will be added to the \[HangFire\].\[Job\] table, but it will…

---

## [MSMQ jobs orphaned when server is removed](https://discuss.hangfire.io/t/msmq-jobs-orphaned-when-server-is-removed/2071)

<div class="topic-metadata">

**Author:** [@dgreenbean](https://discuss.hangfire.io/u/dgreenbean)\
**Replies:** 0\
**Last updated:** [May 31, 2016, 10:03pm UTC](https://discuss.hangfire.io/t/msmq-jobs-orphaned-when-server-is-removed/2071 "2016-05-31T22:03:03Z")

</div>

I have multiple machines receiving requests with SQL Server/MSMQ. If any machine is suddenly removed from the farm, the jobs that were enqueued on that server will be orphaned. They will never be picked up by the other…

---

## [Dashboard appears broken in Hangfire 1.5.2](https://discuss.hangfire.io/t/dashboard-appears-broken-in-hangfire-1-5-2/1438)

<div class="topic-metadata">

**Author:** [@ssewell](https://discuss.hangfire.io/u/ssewell)\
**Replies:** 14\
**Last updated:** [May 30, 2016, 3:06pm UTC](https://discuss.hangfire.io/t/dashboard-appears-broken-in-hangfire-1-5-2/1438 "2016-05-30T15:06:55Z")

</div>

I just recently upgraded to Hangfire 1.5.2, and the Dashboard appears to be broken when using Hangfire with MSMQ. Clicking on the "Jobs" tab yields the following exception: System.ApplicationException: Unable to pa…

---

## [Define multiple queue in Windows Service](https://discuss.hangfire.io/t/define-multiple-queue-in-windows-service/1488)

<div class="topic-metadata">

**Author:** [@manuel\_alejandro\_gat](https://discuss.hangfire.io/u/manuel_alejandro_gat)\
**Replies:** 0\
**Last updated:** [October 29, 2015, 5:45pm UTC](https://discuss.hangfire.io/t/define-multiple-queue-in-windows-service/1488 "2015-10-29T17:45:34Z")

</div>

how should i, in a windows service, declare my server to use multiple queues? for instance in an mvc project i do it in this way. app.UseHangfire(config =\> { config.UseAuthorizationFilters(…

---

## [Multiple server issues with MSMQ & MSDTC in 1.5.0-beta1](https://discuss.hangfire.io/t/multiple-server-issues-with-msmq-msdtc-in-1-5-0-beta1/1172)

<div class="topic-metadata">

**Author:** [@AP\_Erebus](https://discuss.hangfire.io/u/AP_Erebus)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 7:11am UTC](https://discuss.hangfire.io/t/multiple-server-issues-with-msmq-msdtc-in-1-5-0-beta1/1172 "2015-08-17T07:11:13Z")

</div>

As mentioned in a twitter exchange with @odinserj, I’ve been having issues with MSMQ, MS DTC in HF 1.5.0-beta1. I currently have a process that spawns thousands of jobs (much like a batch job) which I would ideally like…

---

## [Updated Firebird storage with MSMQ support](https://discuss.hangfire.io/t/updated-firebird-storage-with-msmq-support/735)

<div class="topic-metadata">

**Author:** [@rsegerink](https://discuss.hangfire.io/u/rsegerink)\
**Replies:** 0\
**Last updated:** [March 1, 2015, 2:32pm UTC](https://discuss.hangfire.io/t/updated-firebird-storage-with-msmq-support/735 "2015-03-01T14:32:32Z")

</div>

Hi, I've updated the Firebird storage with MSMQ support and included a small nancyfx example. See: https://github.com/rsegerink/Hangfire.Firebird Also available on nuget as "Hangfire.Firebird" and "Hangfire.Firebird.Ms…

---

## [Remote MSMQ and Web Dashboard](https://discuss.hangfire.io/t/remote-msmq-and-web-dashboard/1084)

<div class="topic-metadata">

**Author:** [@underwhelmed](https://discuss.hangfire.io/u/underwhelmed)\
**Replies:** 1\
**Last updated:** [July 24, 2015, 2:29pm UTC](https://discuss.hangfire.io/t/remote-msmq-and-web-dashboard/1084 "2015-07-24T14:29:38Z")

</div>

I am using the following setup for my hangfire environment and am running into an issue trying to access the Hangfire Dashboard Job Queues. I have a 3 server setup, web, app, and database. The web houses my MVC project …

---

## [RecurringJob Stuck Enqueued using MSMQ but not in SQL Server](https://discuss.hangfire.io/t/recurringjob-stuck-enqueued-using-msmq-but-not-in-sql-server/836)

<div class="topic-metadata">

**Author:** [@underwhelmed](https://discuss.hangfire.io/u/underwhelmed)\
**Replies:** 13\
**Last updated:** [April 22, 2015, 3:37pm UTC](https://discuss.hangfire.io/t/recurringjob-stuck-enqueued-using-msmq-but-not-in-sql-server/836 "2015-04-22T15:37:40Z")

</div>

I created a Hangfire (v 1.3.4) Windows Service that used MSMQ. Sometimes, a recurring job gets enqueued and they do not get processed. As I want to have each job have a single running instance, each subsequent job gets e…

---

## [Jobs stuck in enqueued state](https://discuss.hangfire.io/t/jobs-stuck-in-enqueued-state/229)

<div class="topic-metadata">

**Author:** [@oeaoaueaa](https://discuss.hangfire.io/u/oeaoaueaa)\
**Replies:** 8\
**Last updated:** [April 9, 2015, 2:59pm UTC](https://discuss.hangfire.io/t/jobs-stuck-in-enqueued-state/229 "2015-04-09T14:59:33Z")

</div>

Hi, We are using Hangfire with SqlServer/MSMQ and sometimes, the HangFire dashboard shows that there are some jobs (X) Enqueued (Queues X/3) but going into "hangfire/queues" it says all the queues are empty. Then in the …

---

## [Multiple Servers and MSMQ](https://discuss.hangfire.io/t/multiple-servers-and-msmq/801)

<div class="topic-metadata">

**Author:** [@bernardwolff](https://discuss.hangfire.io/u/bernardwolff)\
**Replies:** 1\
**Last updated:** [March 30, 2015, 9:05pm UTC](https://discuss.hangfire.io/t/multiple-servers-and-msmq/801 "2015-03-30T21:05:13Z")

</div>

I'm trying to set up an environment where we have two servers running Hangfire jobs on MSMQ. Here is a summary: Server A: One Hangfire queue (serveraqueue), no publicly accessible website Server B: Two Hangfire queues…

---

## [Make MSMQ extension MSSQL independent](https://discuss.hangfire.io/t/make-msmq-extension-mssql-independent/702)

<div class="topic-metadata">

**Author:** [@rsegerink](https://discuss.hangfire.io/u/rsegerink)\
**Replies:** 1\
**Last updated:** [February 25, 2015, 2:44pm UTC](https://discuss.hangfire.io/t/make-msmq-extension-mssql-independent/702 "2015-02-25T14:44:57Z")

</div>

Hi, is it possible to make the MSMQ code MS SQL provider independent? I would like to use it with the Hangfire Firebird provider, it would be nice if the bulk of the MSMQ extension code could be shared. thanks, Rob …

---

## [Help with configuring MSMQ](https://discuss.hangfire.io/t/help-with-configuring-msmq/615)

<div class="topic-metadata">

**Author:** [@pdagosta](https://discuss.hangfire.io/u/pdagosta)\
**Replies:** 3\
**Last updated:** [January 29, 2015, 3:35pm UTC](https://discuss.hangfire.io/t/help-with-configuring-msmq/615 "2015-01-29T15:35:38Z")

</div>

The documentation for MSMQ states: To use MSMQ queues, you should do the following steps: Create them manually on each host. Don’t forget to grant appropriate permissions. Register all MSMQ queues in current SqlServerS…
