Calling Oracle Text Packaged Procedure Fails With ORA-2074 (Doc ID 246954.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Data Provider for .NET - Version 9.2.0.8 and later
Information in this document applies to any platform.

*** Checked for relevance on 17-Jul-2017 ***

Symptoms

Using the Oracle Data Provider for .NET (ODP.NET) to call a packaged procedure specific to Oracle Text fails with the following errors:

ORA-20000: Oracle Text error:
ORA-02074: cannot ROLLBACK in a distributed transaction

Other error messages that may result include the following:

ORA-02074: cannot SET SAVEPOINT in a distributed transaction
ORA-02074: cannot COMMIT in a distributed transaction
ORA-02074: cannot SET NLS in a distributed transaction

Changes

This error can occur when calling an Oracle Text-specific packaged procedure, such as CTX_DOC.MARKUP, from a Visual Studio .NET application using ODP.NET.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms