Hi,
I have windows 7 64 bit OS with visual studio 2010. mt database is oracle 64 bit enterprise edition. when i am trying to connect to oracle database using (System.Data.OracleClient) its throwing 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."
Thanks.

RobbinsonPosted May 30, 2014, 2:39 AM
you also need 64-bit orcacle client needs to be installed where you deploy the application.
Sujit SahooPosted May 30, 2014, 2:33 AM
I have installed oracle 64 bit only. but also problem is not solved
RobbinsonPosted May 30, 2014, 2:00 AM
It would not possible to use 32 bit version of library in 64 bit mode application version. For 64 bit , you have to use oracle client for 64 bit version.
Hope, this would answer your query.
Please don't forget to mark as answer if this post helps you.