Connection Using DG4ODBC Gives Errors ORA-28513 and Oci-21500 [17182] or ORA-1017

(Doc ID 1087498.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 26-Apr-2013***


A 11.1 Database Gateway for ODBC (DG4ODBC) connection to SQL*Server gives the following error -

ERROR at line 1:
ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from GTW_LINK

A gateway debug trace shows -

Exiting hgolgon, rc=28513 at 2010/04/14-10:03:11 with error ptr FILE:hgolgon.c LINE:550 ID:Memory allocate

An Oracle trace file shows -

Trace file <trace_directory>/ora_25937_1.trc
OCI-21500: internal error code, arguments: [17182], [0x4000000000007F30], [], [], [], [], [], []
kgepop: no error frame to pop to for error 21500
OCI-21500: internal error code, arguments: [17182], [0x4000000000007F30], [], [], [], [], [], []

Using 11.2 DG4ODBC the following error is returned -

ORA-01017 - invalid username/password; logon denied


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