FIX: MSMQ ActiveX Component Receive Fails When Receiving a Message

This article was previously published under Q241749
This article has been archived. It is offered "as is" and will no longer be updated.
A Microsoft Message Queue (MSMQ) application using the MSMQ ActiveX components fails with the following error when receiving a message:
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.

Windows NT Server 4.0, Terminal Server Edition

To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
152734 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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.
MSMQ Receive error

Article ID: 241749 - Last Review: 02/21/2014 00:38:16 - Revision: 4.0

Microsoft Windows NT Server 4.0, Terminal Server Edition, Microsoft Message Queue Server 1.0

  • kbnosurvey kbarchive kbbug kbfix kbmsmq100fix KB241749
ERROR: at System.Diagnostics.Process.Kill() at Microsoft.Support.SEOInfrastructureService.PhantomJS.PhantomJSRunner.WaitForExit(Process process, Int32 waitTime, StringBuilder dataBuilder, Boolean isTotalProcessTimeout)