Microsoft KB Archive/901281

= Applications cannot use the &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message to determine whether a queue is transactional in Message Queuing 3.0 =

Article ID: 901281

Article Last Modified on 7/19/2005

-

APPLIES TO


 * Microsoft Message Queuing 3.0
 * Microsoft Message Queue Server 2.0
 * Microsoft Message Queue Server 1.0

-





SYMPTOMS
In Microsoft Message Queuing 3.0, applications cannot use the &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message to determine whether a queue is transactional. However, this error message is returned in earlier versions of Message Queuing.



CAUSE
This behavior occurs because Message Queuing 3.0 does not return the &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message. Earlier versions of Message Queuing return the &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message when Message Queuing can determine the transactional property of the destination queue. This behavior is by design.



WORKAROUND
To work around this behavior, modify the application to use the System.Messaging.MessageQueue.Transactional property of a queue. The System.Messaging.MessageQueue.Transactional property of a queue returns a Boolean value. You do not have to use the &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message to determine whether the destination queue is transactional.



MORE INFORMATION
In Message Queuing 1.0 and in Message Queuing 2.0, you receive a &quot;0xc00e0050 MQ_ERROR_TRANSACTIONAL_USAGE&quot; error message when the following conditions are true:
 * You try to send a message to a queue where the transaction property can be determined. This includes sending the messages to local queues, to remote public queues that use path names, and to local private queues.
 * You incorrectly start the transaction.

You do not receive this error message when you try to send a message to remote private queues because the sender cannot determine the transactional property.

Additional query words: MSMQ

Keywords: kbtshoot kbprb KB901281

-

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

© Microsoft Corporation. All rights reserved.