FIX: Using EnableNotification in COM+ Causes Incorrect Deactivation of Object (271370)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q271370

SYMPTOMS

When a Message Queuing component that uses the EnableNotification call is run under COM+, the thread in which the object lives is destroyed, and the object is released with the connection severed prematurely. The same component runs fine in an MTS environment.

CAUSE

Message Queuing uses an unregistered Windows message for EnableNotification. This message is intercepted, and COM+ deactivates the thread prematurely.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack


The English version of this fix should have the following file attributes or later:
Date        Time       Version   Size   File name       Platform
----------------------------------------------------------------
7/26/2000   8:56a        708   284,672  Mq1repl.dll          x86
7/26/2000   8:56a        708   219,136  Mqads.dll            x86
3/15/2000   3:23a        704    69,904  Mqcert.dll           x86
7/26/2000   8:56a        708    30,208  Mqcertui.dll         x86
7/26/2000   8:56a        708    50,688  Mqclus.dll           x86
7/26/2000   8:56a        708    31,744  Mqdbodbc.dll         x86
7/26/2000   8:56a        708    77,312  Mqdscli.dll          x86
7/26/2000   8:56a        708    43,008  Mqdssrv.dll          x86
3/15/2000   3:24a        704    69,904  Mqkeyhlp.dll         x86
7/26/2000   8:56a        708   268,288  Mqmigrat.dll         x86
7/26/2000   8:56a        708   232,448  Mqoa.dll             x86
7/26/2000   8:56a        708     8,704  Mqperf.dll           x86
7/26/2000   8:56a        708   431,616  Mqqm.dll             x86
7/26/2000   8:56a        708     9,216  Mqrperf.dll          x86
7/26/2000   8:56a        708    94,208  Mqrt.dll             x86
7/26/2000   8:56a        708    71,680  Mqsec.dll            x86
7/26/2000   8:56a        708   428,032  Mqsnap.dll           x86
7/26/2000   8:56a        708   110,592  Mqutil.dll           x86
7/26/2000   8:56a        708    68,608  Msmq.cpl             x86

				

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The use of EnableNotification now properly registers the message ID that it uses so that it does not conflict with COM+.

Modification Type:MinorLast Reviewed:9/26/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB271370