Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006

    Unanswered: Sybase Error 126

    I have a couple of users trying to connect to a Sysbase ASE 12.5 server and keep getting the following error: "The setup routines for the Sybase ASE ODBC Driver ODBC driver could not be loaded due to system error code 126."

    We have checked the system path string, which looks OK; It was compared to one that works. And we've tried installing the driver from remote and local sources. It still will not work. The machines are Win2K and XP. Currently, there are about 30 other users that connect without issue.

    What other troubleshooting should be done?

  2. #2
    Join Date
    May 2005
    what is your ODBC version ?
    did you install the Open client ? and which one ?

    If there was a previous version of open client installed, it is recommended that it be removed and the registry entries be cleared before installing the newer version. If the previous installation was 11.1.1 there should be an uninstaller on the original cdrom. If not, remove the directory and reg settings manually.

    from solved cases on sybase site :

    First of all, make sure all the environment variables are set correctly.

    $PATH - contains bin and dll in the path. Make sure, that you code is not resetting any of these variables.

    The 126 error is normally due to older versions of the DLLs being picked up. You'll need to remove the following files and rerun the setup.

    The resolution to the problem is to delete all copies of the following WinNT/Win95/Win3.x Sybase ODBC files:
    syutlnt.dll/syutl95.dll/syutlw3.dll and syodbc.lic.

    2) Reboot the machine.
    3) Reinstall ODBC.

    hope will help.

  3. #3
    Join Date
    Feb 2002
    Willy is on vacation
    The library is actually picked from the registry. HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\

    Find the Adaptive Server Enterprise key or the Sybase ASE, take a backup of the key. Nuke it and then do a ODBC re-install

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts