Error 0xC00E0020 Is Generated When You Send Messages By Using the Direct FormatName Property (304287)



The information in this article applies to:

  • Microsoft Message Queue Server (MSMQ) 1.0
  • Microsoft Message Queuing 2.0

This article was previously published under Q304287

SYMPTOMS

You can use the direct FormatName property to have an application send private messages to local queues; however, the following error is generated if the queue belongs to another queue manager:
MQ_ERROR_UNSUPPORTED_FORMATNAME_OPERATION (0xC00E0020)

CAUSE

This behavior occurs because:
  • Private messages invoke the built-in encryption that is used by the queue manager.
  • This encryption occurs only when the message is sent to another queue manager.
  • The queue manager only checks messages for the invalid combination of a private and direct FormatName if the message is not destined for a local queue.
This scenario results in applications that function fine in test scenarios but that do not function after deployment when the queues are no longer local.

MORE INFORMATION

The determination of local queues versus remote queues is performed based on queue manager ownership and not on the physical computer. In the case of Windows 2000 clustering, there are two or more separate queue managers, one of which is local and the other of which is the clustered Message Queuing resource. Queues are owned by each queue manager and Active Directory has a separate computer object for each.

Modification Type:MajorLast Reviewed:4/20/2005
Keywords:kbnofix kbprb KB304287