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 am running an application in Visual Studio 12
and first I installed Oracle 11g 64 bit
on Windows 7 64bit
after than it was showing the same error Attempt to load.
Then I installed SQL developer
32 bit mode using jdk
32 bit then my report mailers that is also developed in the same application started working but my application that I used to run on local host is not accepting my credentials and displaying the same error when checking data connection in server explorer.
I tried installing both the 32 bit and 64 bit and changing configuration manager mode to everything(cpu , 64 bit , 32 bit ).