Daily Archives: September 21, 2009

2 posts

How to fix System.Data.OracleClient BadImageFormatException error

[UPDATE]: The fix in this post may not work on Windows Vista/7  64-bit operating system, if you are using Vista/7 and have the problem specified in this post, then check out the updated post here: http://35.227.136.90/index.php/2010/08/13/update-how-to-fix-system-data-oracleclient-badimageformatexception-error/ If you use Microsoft’s OracleClient libraries to connect Oracle database in .NET application, you may encounter BadImageFormatException error if the application is running on a x64 machine. The actual error message shows as follows: [InvalidOperationException: Attempt to load Oracle […]