FIX: MSMQ ActiveX Component Receive Fails When Receiving a Message

ID: Q241749


The information in this article applies to:
  • Microsoft Message Queue Server version 1.0


SYMPTOMS

A Microsoft Message Queue (MSMQ) application using the MSMQ ActiveX components fails with the following error when receiving a message:

MQ_ERROR_SENDER_CERT_BUFFER_TOO_SMALL


CAUSE

The MSMQ ActiveX Components limited the size of an external certificate to 4096 bytes when receiving. In some instances, the external certificate may be larger than 4096 bytes.


RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0. For additional information, please see the following article in the Microsoft Knowledge Base:

Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack
The ActiveX Component's Receive method now checks the return code from MQReceiveMessage and will reallocate a buffer large enough to handle the external certificate when the size exceeds the initial allocation before returning to the caller.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

This problem was first corrected in Windows NT 4.0 Service Pack 6.

Additional query words: MSMQ Receive error

Keywords : kbMSMQ kbMSMQ100 kbMSMQ100bug kbMSMQ100fix NT4SP6Fix kbDSupport
Version : winnt:1.0
Platform : winnt
Issue type : kbbug


Last Reviewed: October 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.