Consultor Eletrônico



Kbase P106930: [unixODBC][DataDirect][ODBC 20101 driver]1201 error with Progress ODBC driver
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

FACT(s) (Environment):

RedHat Linux 8.0
Progress 9.1x
MERANT 4.10 32-BIT Progress SQL-92

SYMPTOM(s):

Setting up and testing the Progress ODBC driver on Linux

Attempting to execute the sample demoodbc.c file to demonstrate some of the ODBC function calls used to fetch some simple data from a Progress SQL-92 database

The MERANT 4.10 ODBC driver generates native error# 0


SQLConnect: Failed...
SQLSTATE = 60
NATIVE ERROR = 0
MSG = [unixODBC][DataDirect][ODBC 20101 driver]1201

The required version of JAVA (JDK 1.3.1_01) is correctly installed on the machine

Database is up and running in client/server mode (-S)

The appropriate information for DatabaseName, PortNumber, LogonID and Password are specified in the odbc.ini file

The ODBCINI environment variable is properly set pointing to the correct odbc.ini file. e.g.: ODBCINI=$DLC/odbc/odbc.ini; export ODBCINI

CAUSE:

There is a duplicated odbc.ini file in the root directory

FIX:

Remove duplicated odbc.ini file from root directory.