BUG: COM+ Auto-Commit Feature Does Not Work for Late-Bound Components (293119)



The information in this article applies to:

  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000 SP2

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.

REFERENCES

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


Modification Type:MajorLast Reviewed:10/13/2006
Keywords:kbbug kbfix kbWin2000sp3fix KB293119