High Availability Data Guard, Sharding and Global Data Services (MOSC)

MOSC Banner

Logical database error ORA-16224

Oracle Enterprise Edition version 19.21.0.0.0

Oracle Primary Database and Logical Standby DB. SQL Apply is running successfully to the logical standby.

Error while attempting to connect our application to the logical standby DB.

Connection code fails here:

insert into FEAUD.ABST_SERVER_CONNECTIONS_STATS (CONNECTION_ID_20283, TMSTMP1_4564) values (:connectionId, sysdate)

ERROR:

"Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-16224: Database Guard is enabled at OracleInternal.ServiceObjects.OracleConnectionImpl.VerifyExecution(Int32& cursorId, Boolean"


Oracle.ManagedDataAccess runtime version:

v4.0.30319 version 4.122.19.1


The user running the above is WEBABSTIF

The statement can be run manually without issue "insert into FEAUD.ABST_SERVER_CONNECTIONS_STATS values (81,sysdate)


The schema FEAUD is a schema that was imported separately into the logical standby DB ONLY and is not one that is maintained by SQL Apply.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center