DG4ODBC Fails with Error ORA-28511 and Trace Contains Corrupted Information

(Doc ID 555355.1)

Last updated on AUGUST 25, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 11.2]
Information in this document applies to any platform.


A select using Database Gateway for ODBC (DG4ODBC) fails with error:

SQL> select count(*) from GTW_EMP@sqlserver;
select count(*) from GTW_EMP@sqlserver
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
ORA-02063: preceding line from SQLSERVER
Process ID: 1248
Session ID: 23 Serial number: 25


And the trace file shows corrupted information like:

Entered hgolofn at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgolofn, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgoinit, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d
Entered hgolgon at %04d/%02d/%02d-%02d:%02d:%02d
Entered hgosuec at %04d/%02d/%02d-%02d:%02d:%02d
Exiting hgosuec, rc=0 at %04d/%02d/%02d-%02d:%02d:%02d



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