Nepethya Rana

Nepethya Rana

  • NA
  • 335
  • 152.9k

Could not load dll

Jan 31 2017 12:29 PM
My application throws
following error:
Type : System.IO.FileNotFoundException, mscorlib, Version=2.0.0.0, 
Message : Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0,
I pasted Oracle.DataAccess, Version=2.112.2.0 dll to the app folder and execute the program again but then I got this error System.BadImageFormatException, mscorlib, Version=2.0.0.0, Culture=neutral, 
Message : Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, or one of its dependencies. An attempt was made to load a program with an incorrect format.
How do i solve this problem.

Answers (2)