Consultor Eletrônico



Kbase 19773: ODBC Error on Windows, Could Not Load Setup or Translator
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/10/2007
Status: Verified

FACT(s) (Environment):

Progress 9.1x
Windows NT 32 Intel/Windows 2000

SYMPTOM(s):

Error configuring ODBC DSN entry.

"Setup Routines for Merant (version) driver could not be loaded due to system error code 1157. Could not load setup or translator".

"Setup Routines for Merant (version) driver could not be loaded due to system error code 126. Could not load setup or translator".

CHANGE:

Client Networking has been uninstalled and replaced with Workgroup licence.

CAUSE:

The uninstall utility did not remove the earlier ODBC installation from the Registry and the new installation did not overwrite the earlier version. If the earlier version is on a different directory / drive, the Registry will point to the wrong location which causes the above error.
To reproduce:

1) As part of the Workgroup install, enter ODBC data-sources from the Windows Control Panel.

2) Choose either User DSN or System DSN.

After you click on add, choose the MERANT/Data Direct driver and click on finish.

FIX:

Manually edit the Registry to change the path. After you make a backup of the Registry, the Registry location you must modify is:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MERANT (version).

Make sure the paths of both the Driver and Setup string values are pointing to appropriate locations.