I have VS 2008 on Win 7 Professional 64bit system and database is Oracle 11g r2 installed on the same machine.

In Data Source Configuration Wizard --> New Connection
Data Source: Oracle Database (Oracle Client)
When I click Test Connection after entering Service name, username, and password I get the following error:

Attempt to load Oracle client libraries threw BadImageFormatException.
This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

-- I have no oracle client installed because there is no need in this case, I have the same setup on my laptop Win 7 32bit Oracle 11g r2 32bit and everything is working fine.

Please let let me know if you guys have solution for this issue.

5 Years
Discussion Span
Last Post by tahir_77

64bit Oracle 11g r2

Is it 32 bit or 64bit Oracle 11g r2 installed on the machine ?

Edited by tahir_77: n/a

Attachments error.PNG 125.06 KB
This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.