Microsoft KB Archive/304287

= Error 0xC00E0020 Is Generated When You Send Messages By Using the Direct FormatName Property =

Article ID: 304287

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Message Queue Server 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.

Keywords: kbnofix kbprb KB304287

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.