Did this article resolve your question/issue?



DataDirect "ORA-28545" error with Oracle Heterogeneous Services (hsodbc) or Oracle Database Gateway for ODBC (dg4odbc)

« Go Back


TitleDataDirect "ORA-28545" error with Oracle Heterogeneous Services (hsodbc) or Oracle Database Gateway for ODBC (dg4odbc)
URL Name7104
Article Number000125178
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, run the "file" command on the hsodbc/dg4odbc executable under $ORACLE_HOME/bin/ to check the bitness.
Last Modified Date6/20/2019 3:28 PM
Disclaimer 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.