File Or Assembly Name Oracle.DataAccess was not Found. (Doc ID 225549.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Data Provider for .NET - Version 9.2.0.1 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

*** Checked for relevance on 17-Jul-2017 ***

Symptoms

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
Oracle.DataAccess, or one of its dependencies, was not found.
File name: "Oracle.DataAccess"


Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = Oracle.DataAccess, Version=9.2.0.11, Culture=neutral,
PublicKeyToken=89b483f429c47342
(Fully-specified)
LOG: Appbase = C:\
LOG: Initial PrivatePath = NULL
Calling assembly : ConsoleApplication1, Version=1.0.1104.15973, Culture=neutral,
PublicKeyToken=null.
===

LOG: Application configuration file does not exist.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: Oracle.DataAccess, Version=9.2.0.11, Culture=neutral
, PublicKeyToken=89b483f429c47342
LOG: Attempting download of new URL file:///C:/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///C:/Oracle.DataAccess/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///C:/Oracle.DataAccess.EXE.
LOG: Attempting download of new URL file:///C:/Oracle.DataAccess/Oracle.DataAccess.EXE.

Changes

You have either migrated your .Net Application to another machine with a different version of ODP.Net, or you have upgraded your Oracle Data Provider for .Net.

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