DataDirect "ORA-28545: error diagnosed by Net8 when connecting to an agent" error with Oracle Heterogeneous Services (hsodbc) or Oracle Database Gateway for ODBC (dg4odbc)

« Go Back


Article Number000006577
EnvironmentProduct: Connect/Connect64 for ODBC driver
Exact version: All supported versions
Platform/OS: All supported platforms
Databases: All supported databases
Application: Oracle Heterogeneous Services, Oracle Database Gateway for ODBC
Question/Problem Description

When attempting to connect through Oracle's Heterogeneous Service to an ODBC driver, the mentioned error is thrown.

Steps to Reproduce
Clarifying Information
Error MessageError : ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from <DBLINK>
Defect/Enhancement Number
This error message can be returned due to
  1. Missing or incorrect setting of ODBC environment variables
  2. Mixing a 32-bit Oracle hsodbc executable with a 64-bit ODBC driver or  mixing a 64-bit Oracle dg4odbc executable with a 32-bit ODBC driver
  • Ensure the environment variables are defined.
  • Verify the bitness of the hsodbc / dg4odbc executable (file hsodbc ; file dg4odbc) and install the corresponding 32-bit or 64-bit ODBC drivers.
32-bit applications require 32-bit ODBC drivers while 64-bit applications require 64-bit ODBC drivers. On Unix, you can run the "file" command on the hsodbc/dg4odbc executable under $ORACLE_HOME/bin/ to check the bitness.
Last Modified Date2/28/2018 9:41 PM

The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.

Was this article helpful?


Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025