Microsoft KB Archive/293119

= BUG: COM+ Auto-Commit Feature Does Not Work for Late-Bound Components =

Article ID: 293119

Article Last Modified on 10/13/2006

-

APPLIES TO


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

-



This article was previously published under Q293119



SYMPTOMS
A COM+ transaction can commit even if a called method returns a failed HRESULT error value.



CAUSE
If you enable the auto-commit feature in COM+, COM+ checks the HRESULT error value that is returned from a method call. COM+ commits the transaction if successful or aborts the transaction if the HRESULT fails. For late-bound components, the HRESULT may not be properly propagated back to the caller. Therefore, the current transaction commits even if the method call results in a failed HRESULT.



RESOLUTION
To resolve this problem, obtain Microsoft COM+ Rollup Hotfix 9. For additional information, please see the following article in the Microsoft Knowledge Base:

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 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.

