My Oracle Support Banner

Ora-28500 With DBNETLIB When Connecting With Dg4msql To SQL*Server (Doc ID 1085680.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


From Oracle Server10.2.0.4 on Windows 64-bit, a select through Oracle Database Gateway for Microsoft SQL Server (DG4MSQL ) version installed on Windows 32-bit fails with error -

SQL> select count(*) from table@sql_link;
select count(*) from table@sql_link
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access
denied.[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
(Connect()).[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
ORA-02063: preceding 2 lines from sql_link


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.