Unable to get CF 9 Admin to Connect to IBM/DB2 Server
Am trying to set up a new Data Source in ColdFusion 9.0.1, CF Admin, to connect to my company's IBM/DB2 database/server. The IBM server itself is 64-bit, and I'm using my home computer with Windows 7 Pro 64-bit.
We have to use the IBM/DB2 Client version 9.5 FixPak 4. It comes in 32-bit and 64-bit versions. I downloaded both, and installed 64-bit driver, and it's not working.
In Control Panel/ODBC Data Sources, System DSN tab, it shows the IBM DB2 ODBC Driver. I've configured it with correct hostname, DB name, UserID and Password, etc., and the connection tested fine from there. When I click TEST CONNECTION, the response is "successful connection."
But when I go to CF Admin and add this as a Data Source, using ODBC Socket, it displays my "named" connection from Control Panel/ODBC. But when I try to connect, I get the response: "UNABLE TO VERIFY LOGON, and something about ARCHITECTURE MISMATCH."
Question: Does CF 9 Admin support 64-bit ODBC drivers? Am wondering if that's the reason Windows ODBC will make the connection, but CF Admin won't. If so, I could uninstall the 64-bit driver, and install the 32-bit driver and try again. Since few people at work know ColdFusion, I don't have much support there.
I successfully installed the 32-bit driver on my Office Windows 7 PC, but it has Windows 7 32-bit. I've also upgraded the drivers on several Windows XP SP2 computers, using the same IBM DB2 Client, but 32-bit version. All those work fine in CF Admin.
Am hoping someone has tried this, and has some advice on how to connect to an IBM/DB2 database, with CF 9.0.1. And if CF9 Admin supports 64-bit drivers for connecting to other data sources? FWIW, all my other CF Admin data sources (to various company Oracle and other servers) are working fine in CF Admin, but I'm using the default ORACLE drivers that came with CF9. I can't use CF9's built-in DB2 drivers, they aren't compatible. You must install the IBM DB2 client, in order to connet to the IBM database/server.
Thanks for any help/advice.
Gary
