Microsoft KB Archive/290511

= FIX: Error -2147168246 &quot;Failure Enlisting in Resource Manager&quot; When You Use COM+ Application Transactions =

Article ID: 290511

Article Last Modified on 5/8/2002

-

APPLIES TO


 * Microsoft COM+ 1.0

-



This article was previously published under Q290511



SYMPTOMS
When you use transactions from within a COM+ application that utilizes Microsoft Data Access Components (MDAC) pooling, you may receive the following error message:

-2147168246 'Failure enlisting in Resource Manager'



CAUSE
This error message occurs because new connections are opened and enlisted in an existing transaction. Databases such as Oracle and DB2 may experience problems when COM+ tries to use multiple connections on the same transaction.

In Microsoft Windows 2000 SP1 and earlier, the implementation of the COM+ Dispenser Manager requests a connection from the resource manager regardless of the transaction context. When a connection must be allocated, the Dispenser Manager iterates through the list of free database connections. The Dispenser Manager may enlist a new connection for the transactional method call despite the fact that there may be free connections that are already enlisted in that transaction.



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



STATUS
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 2000 Service Pack 2.

Additional query words: Oracle -2147168246

Keywords: kberrmsg kbbug kbfix kboracle kbwin2000presp2fix KB290511

-

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

© Microsoft Corporation. All rights reserved.