SAP Knowledge Base Article - Preview

1926582 - SQL error 0 when connecting to both IBM DB2 and SQL Server from Linux


The following error happens during the connection test from Linux to SQL Server.
                    Could not open connection XXXX
                    sql error          0  occured:
developer trace displays the same error without further detailed information.
For example:
                    C  (0) [01000] [unixODBC][Driver Manager]Can't open
                    lib '/opt/microsoft/msodbcsql/lib64/' : file not found

However, the library definitely exists.



SAP application server based on Linux operating system connects to a DB2 database and also tries to connect to a remote SQL Server.



SAP enhancement package 1 for SAP NetWeaver 7.3


SLES11, DBCON , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-DB-DB6 , DB2 Universal Database for Unix / NT , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.