Consultor Eletrônico



Kbase 20641: Test connect fails with 126 error using a SQL-89 ODBC Driver
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/05/2006
Status: Verified

FACT(s) (Environment):

MERANT 3.7 ODBC Driver SQL-89 Version

SYMPTOM(s):

ODBC test connect fails.

Specified driver could not be loaded due to system "error 1157" (MERANT 3.70 32-BIT PROGRESS)

1157 error on errno.h of Windows corresponds to ERROR_DLL_NOT_FOUND = One of the library files needed to run this application cannot be found.

Specified driver could not be loaded due to system "error 126" (MERANT 3.70 32-BIT PROGRESS)

126 error on errno.h of Windows corresponds to ERROR_MOD_NOT_FOUND = The specified module cannot be found.

Specified driver could not be loaded due to system "error 193" (MERANT 3.70 32-BIT PROGRESS)

193 Error on errno.h of Windows corresponds to ERROR_BAD_EXE_FORMAT = %1 is not a valid Windows-based application.

Installed Merant driver

CAUSE:

The prosql32.dll file does not reside in a directory that is part of the PATH environment variable.

The 193 error occurs when prosql32.dll file is sued from the MERANT installation.

FIX:

Copy the the <Progress_Install>\bin\prosql32.dll into the WINNT\SYSTEM32 directory.

If the prosql32.dll does not exist in <Progress_Install>\bin directory copy the <Progress_Install>\bin\esql32.dll file into WINNT\SYSTEM32 directory and rename it to WINNT\SYSTEM32\prosql32.dll.