Warm tip: This article is reproduced from stackoverflow.com, please click
.net c# driver informix

Connecting to informix with 64 bit web asp application

发布于 2020-05-12 18:20:41

I am currently trying to connect my web application to an IBM Informix server. From what I've seen, the only drivers I can find for .net are 32 bit. When I use these with my 64 bit application, it doesn't work and it says there is an architecture mismatch.

Is there a 64 bit driver anywhere? I cannot find it and IBM is absolutely no help. I also cannot change the server from 64 bit to 32 bit, since some of our other libraries are 64bit, and we would want to keep the 64 bit regardless.

Our only other idea for a solution is to make a new project, make it 32 bit, and make apis that we can call to get the data from that project.

Questioner
MrDaveForDays
Viewed
38
MrDaveForDays 2020-02-28 04:51

Found the driver needed. Turns out a 64 bit one does exist, and I found it on this page:

https://www.ibm.com/account/reg/us-en/subscribe?formid=urx-19776&target=https://www-01.ibm.com/marketing/iwm/iwm/web/dispatcher.do?source=ifxdl&S_PKG=410FC8dewin&lang=en_US

I have no idea why IBM makes it so hard to find this. I found it on a random github repository after googling @Jonathan Leffler 's comment "CSDK 4.50". Github I found it on was here: https://github.com/credativ/informix_fdw/issues/20

Added the driver as a 64 bit driver in ODBC settings, everything functioning now. Thank you all for the help!