BadImageFormat Error When Using ODAC 32-Bit On 64-Bit Windows (Doc ID 567578.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version 10.2.0.3.0 and later
Generic Windows
***Checked for relevance on 12-Dec-2016***

Symptoms

BadImageFormatException is a commonly seen error in Windows 64bit when ODP .NET application uses ODAC 32-bit.


System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format. File name: 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms