Win32 COM Error – CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED 0x8004E030

In this post, you’ll learn more about the Error CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED
0x8004E030 that is returned when working with the COM-based APIs in Win32

Win32 COM Error

CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED
0x8004E030

Win32 COM Error Error Description

The component attempted to make a cross-context call between invocations of EnterTransactionScopeand ExitTransactionScope. This is not allowed. Cross-context calls cannot be made while inside of a transaction scope.