My Oracle Support Banner

Error: "Could not load file or assembly 'Oracle.DataAccess, Version=%s, Culture=neutral, PublicKeyToken=%s' or one of its dependencies. An attempt was made to load a program with an incorrect format" (Doc ID 1367695.1)

Last updated on MARCH 04, 2022

Applies to:

Oracle Data Provider for .NET - Version and later
Microsoft Windows x64 (64-bit) - OS Version: 7
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Microsoft Windows x64 (64-bit)


Using Microsoft Visual Studio and building simple C# or VB.NET application using Oracle Data Provider for .NET 64-bit gives during run time following error

even if PATH, ORACLE_HOME and GAC_64 contains correct entries and references:




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.