Microsoft KB Archive/296775

= FIX: COM+ User Events Are Lost with Multiple Subscriber Clients =

Article ID: 296775

Article Last Modified on 6/5/2003

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Service Pack 2

-



This article was previously published under Q296775



SYMPTOMS
You can use COM+ user events to fire events; however, not all subscribers can receive the events.



CAUSE
When there are two subscriptions to the COM+ event system, if the PublisherID property is specified for the first subscriber but not the second subscriber (this PublisherID is optional), the COM+ events may not be delivered to the second subscriber. This occurs because one of the [out] parameters is not cleared when the PublisherID of second subscriber is not found, which causes the second subscriber to use the information of previous subscription.



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

This fix is included with the fixes that are described in the following Microsoft Knowledge Base article:

299407 INFO: Post Windows 2000 Service Pack 2 COM+ Rollup Hotfix 13 Is Available



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



Steps to Reproduce Behavior

 * 1) ApplicationA is an application that fires COM+ user events.
 * 2) Subscriber1 subscribes to ApplicationA with a publisher property of AppID.
 * 3) Subscriber2 subscribes to all Applications - User Events.
 * 4) ApplicationA fires events, and Subscriber2 does not receive any events.

Additional query words: kbIISCom queued

Keywords: kbbug kbfix kbwin2000presp3fix kbwin2000sp3fix KB296775

-

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

© Microsoft Corporation. All rights reserved.