Consultor Eletrônico



Kbase 21991: System Error Code 126 When Configuring SQL-92 ODBC Driver
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/27/2002
SUMMARY:

This Knowledge Base Solution shows how to remedy the following errors which might appear when you attempt to configure a new DSN with the MERANT SQL-92 Driver:

"The setup routines for the MERANT 3.60 32-BIT Progress SQL-92
v9.1C ODBC driver could not be loaded due to system error code 126"

After clicking the OK button, a second message appears:

"Could not load the setup or translator library"

EXPLANATION:

On a Windows machine, error code 126 translates to "specified module could not be loaded." This indicates a problem in locating DLL files specific to the SQL-92 Driver.

An improper uninstall can leave behind a registry entry for the MERANT SQL-92 ODBC Driver. That entry can remain intact pointing to the old DLC\bin directory after a successful reinstall.

SOLUTION:

Edit the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MERANT 3.60 32-BIT Progress SQL-92 v9.1x

You can delete the entry then uninstall and reinstall. Or alternatively, you could edit the Driver and Setup value data portions of the registry key to point to the new location of the PGPRO915.DLL and the PGPRO915S.DLL files.