Forums - C# Corner

Forum guidelines
sony john

sony john

  • 1.7k
  • 29
  • 174

Attempt to load Oracle client libraries threw BadImageFormat

Nov 9 2018 12:30 AM
Hi ,
 I am using windows 10 64 bit. I have created a new dot application in VS 2013 and referring oracle client 11g 32 bit. This is running perfectly fine. 
Now I tried to run the same application in VS 2017. But it is throwing 
System.InvalidOperationException: '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 know that this is a problem already discussed and solution provided. I don't know much about this oracle client and all. I tried to set Any CPU feature and build the solution. But still throwing the same error. Its been almost few weeks. WOuld somebody explain me a solution in very simple steps.  

Answers (1)