visual-studio-2010windows-7oracle11gwindows-7-x64oracleclient

BadImageFormatException while using Oracle Client 64 bit and Visual Studio 2010!


One of our dev team member got an error

Attempt to load oracle client libraries threw BadImageFormatException

It seems

This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

But it was me who configured the system - Here's the specifications:

Any thoughts?


Solution

  • I have seen this a couple of times recently when running Visual studio on a 64Bit O/S. A simple workround is to install the 32bit client on your 64Bit development machine.

    Regards, Pete