If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > IBM ODBC Driver system error 126

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-03, 12:52
sparcs07 sparcs07 is offline
Registered User
 
Join Date: Nov 2003
Location: Epsom
Posts: 2
IBM ODBC Driver system error 126

Hi all has anyone seen this error before


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

I get this when trying to configure any DB2 ODBC entry.

New install fopr V8.1 Client ( also triued this with fixpack 2 & 3 , same fault ).


Sparcs..
Reply With Quote
  #2 (permalink)  
Old 12-04-03, 13:56
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Did you check db2daig.log? Should be under C:\Program Files\SQLLIB\DB2
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 02-03-04, 08:45
riaanv riaanv is offline
Registered User
 
Join Date: Jul 2003
Location: Stellenbosch, South Africa
Posts: 5
Thumbs up

I've had the same message.

Run regedit.exe on your PC and find the file DB2cli.dll. Check that the .dll's path is the same as the install directory on your PC. Some times the 2 get out of sync during re-installation. After editing my registery I could add and configure my IBM ODBCs again.

I.e my registery showed d:\IBM\SQLLIB\BIN\db2cli.dll while it was installed in d:\SQLLIB\BIN\db2cli.dll

Riaan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On