IBM Support

System error 126 when creating an ODBC Data Source

Technote (troubleshooting)


Problem(Abstract)

IBM INFORMIX ODBC DRIVER cannot be loaded due to system error code 126

Symptom

When creating an ODBC Data Source using Microsoft's ODBC Administrator, the following error is encountered:


    The setup routines for the IBM INFORMIX ODBC DRIVER ODBC driver could not be loaded due to system error code 126.

After clicking the OK button, the following message will appear:


    Could not load the setup or translator library
     

Cause

Incorrect Driver or Setup registry entries for the IBM Informix ODBC driver.

 


Environment

Windows
 

Resolving the problem

To resolve the problem, run regedit and examine the setting for the IBM Informix ODBC driver. The settings for the IBM INFORMIX ODBC DRIVER are located under

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.

The Driver and Setup entries should look like this dependant upon where the product is installed:

    Driver = C:\Program Files\IBM\Informix\Client-SDK\bin\iclit09b.dll
    Setup = C:\Program Files\IBM\Informix\Client-SDK\bin\iclit09b.dll

If there is a typographical error in the above settings, make the appropriate correction and try to create the ODBC Data Source again.
 

Related information

Collecting data for an ODBC Problem

Document information

More support for: Informix Tools
Informix Client Software Development Kit (CSDK)

Software version: 3.5

Operating system(s): Windows

Reference #: 1424392

Modified date: 24 December 2010