MSMQ messages received but not delivered Windows 2008 R2
Asked Answered
C

2

4

I have a transactional queue called myPrivateTransactionalQueue hosted on a Win2008R2 server called myReceivingServer which should receive messages from another server called mySendingServer. When the mySendingServer sends a message, an entry appears in the MSMQ log on mySendingServer which says:

Message with ID {f748cc48-8017-4a64-9ff6-61c68564445f}\56008 was sent to queue DIRECT=OS:<myReceivingServerName >\private$\<myPrivateTransactionalQueue>

However, myReceivingServer, in the MSMQ log there is a single entry:

Message came over network

However the message is not being delivered to myPrivateTransactionalQueue on myReceivingServer. Things I have looked at so far:

  1. Application event log on myReceivingServer has no errors
  2. On myPrivateTransactionalQueue "Everyone" and "Anonymous Logon" are granted Full Control
  3. Transactional dead letter queue on myReceivingServer is empty
  4. Temporary outgoing queue on mySendingServer is empty

I am going a bit mental here because I cannot account for the message at all. Any help would be much appreciated.

Edit: I found this link http://blogs.msdn.com/b/johnbreakwell/archive/2010/01/22/why-does-msmq-keep-losing-my-messages.aspx so I will see if this explains my problem. Will post back with any resolution.

Edit2: OK I hate this but the problem just kind of sorted itself out. I didn't change anything in the above configuration. But I now have it working.

Edit3: This is a comment from John Breakwell: To ensure you know the root cause when you see this problem again (and there's no reason to believe it has gone for good), you need to enable some options, such as negative source journaling as mentioned in my blog. Now you know your system isn't resilient, it's a good time to fix it

Chiquita answered 24/6, 2011 at 14:17 Comment(1)
Yes, the blog post is a good place to start :-)Yenyenisei
G
7

Ok I had exactly the same problem and it either resolved itself because of two reasons. I updated the computer name referenced in the message I was sending (previously it was an alias in my hosts) or it could have just been the fact that I enabled full control to everyone/anonymous on the receiving server and rebooted the machine.

Grath answered 28/9, 2011 at 6:26 Comment(3)
Confirmed for me that it was simply the act of enabling full control for both anonymous and everyone. That did the track and saved me loads of frustration. Thanks for the answer here!Commonweal
Had the same issue. Adding anonymous logon with Send Message only fixed it for me.Roughish
Same here, eventually it was fixed by giving access to user "ANONYMOUS LOGON" with full permission.Swenson
O
1

Check the sender dead letter queue for a clue.

On my case, after checking the sender dead letter queue I was able to identify that it was a permissions issue.

When the queue is unauthenticated it is not enough to give permissions to "everyone" but "anonymouns logon" must also be there with at least send permissions.

Oporto answered 13/6, 2013 at 13:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.