Database Administration (MOSC)

MOSC Banner

Error when try to configure Oracle to SQL Server ODBC Connection on Linux

edited Jun 4, 2020 8:28AM in Database Administration (MOSC) 9 commentsAnswered

How do I correct the following error from a database link using a connection from ORACLE to a non-Oracle system;

When testing a database link from Oracle to SQL Server I receive the following error.

 

*********************************************************************

Link : "DG4ODBC.WORLD"

Error : ORA-28500: connection from ORACLE to a non-Oracle system returned this message:

ORA-28541: Error in HS init file on line 39.

ORA-02063: preceding 2 lines from DG4ODBC

*********************************************************************

odbc.ini file

cat odbc.ini
[ODBC Data Sources]
mssql="MS SQL Server"

[mssql]
Driver=/opt/microsoft/msodbcsql/lib6/libmsodbcsql-11.0.so.2270.0
Description=Microsoft ODBC Driver 11 for SQL Server
Database=SSBFPROD
LogonID=PSLinked
Password=password1
Address=H00-SQL12-DB03\SQL01,59142

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