DB2 Driver failed to load on 64-Bit Windows

I have an error with accessing DB2 on a 64-Bit Windows platform. We had a problem with both Oracle and ODBC as well. We were able to overcome the Oracle problem by installing BOBJ in a new directory with ()'s in the path. We solved the ODBC problem by using the ODBC32 application instead of the native 64-Bit. However we still haven’t been able to resolve the DB2 driver problem. We are receiving the following error:

DBDriver failed to load: Path\dbd_db2cli.dll (The specified module could not be found.)

Anyone encountered this one before? Thanks!!

Jim


keithjd (BOB member since 2007-02-01)

you need to install the relevant client drivers for the database to allow connectivity between the desktop application you are using and your CMS.

also, search the forum for answers because this is a “mature” problem and there are several posts about it.


shawzozo :zimbabwe: (BOB member since 2006-08-08)

Thanks for the response. The drivers were indeed installed. I also searched thoroughly and my particular issue wasn’t addressed. It turns out that the install of the db2 drivers must be installed in a path without any parentheses. Similar to the problem I was having with bobj being installed in a path with parentheses. Thx!


keithjd (BOB member since 2007-02-01)

Hi All,

Even i have the same problem with MSSQL db on win 2k8 64-bit pc.Appreciate your help…

Thanks,
Sreelekha


Sreelekha (BOB member since 2008-11-15)

On 64-Bit Windows the default install directory for 32-bit software is “Program Files (x86)”. I had to uninstall bobj and all my drivers and install in a directory without the parentheses. So just plain “Program Files” would suffice. Also, you must use the 32-bit ODBC client for all ODBC connections. If you use the one available from the Control Panel>Admin Tools then it’s the 64-bit client. The 32-bit client is located somewhere in the Windows directory (you may have to search for it, I forget where it is off-hand). Also make sure that you only use 32-bit drivers because BOBJ is still 32-bit software.

Good luck, hope that helps.


keithjd (BOB member since 2007-02-01)

Middle ware used is sql 64-bit client


Sreelekha (BOB member since 2008-11-15)

I think you’re still going to have to install a 32-bit driver to connect to the server. That’s what our problem was in regards to using odbc. When we set up the odic connections using the 64-bit client the dsns were unrecognized by the bobj connections, because it was reading 32-bit settings. You should still be able to connect to the database regardless as to whether it’s 32 or 64 bit since it’s all just communication via protocols.


keithjd (BOB member since 2007-02-01)