windowsmsmqmsmq-wcf

An error occurred while sending to the queue: Unrecognized error -1072824273 (0xc00e002f).Ensure that MSMQ is installed and running


Hi got the message below when sending an message to a remote queue.

An error occurred while sending to the queue: Unrecognized error -1072824273 (0xc00e002f).Ensure that MSMQ is installed and running. If you are sending to a local queue, ensure the queue exists with the required access mode and authorization.

Another test show that with other account i could send the message to the remote server without any problem.


Solution

  • After dig through many posts find myself the solution. It simple needs to register the client certificate for the pair client machine and account. I have no idea why one account has the certificate and the other don't. To register the certificate it needs to do this(no need to create a certificate):

    1. Run mmc with the account at the client machine
    2. Select Message Queuing item from the tree viewenter image description here
    3. Select properties form the context menu (Right click button)
    4. Select the "User Certificate tab" and click Register. Select the pair for the client machine and current account (production account).enter image description here
    5. Try again.