Skip to Main Content

ODP.NET

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made

1f86b123-f1b0-4fbb-9d02-3f06f02691b4Jan 3 2019 — edited Jan 3 2019

Hi,

I am working with ASP.Net with Framework 4.0  and Created a web application using MVC3. I have installed ODP.net  for using Oracle.DataAcess to communicate with Oracle data base, my operating system is Linux server  and I have installed Oracle client.

in my application I am giving reference to Oracle.DataAccess.dll from C:\Oracle\product\4.2.0\client_1\ODP.NET\bin\4\

when I run the application in Visual studio 2015 I am getting an error as

Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Please help !!!

This post has been answered by Alex Keh-Oracle on Jan 3 2019
Jump to Answer
Comments
Post Details
Added on Jan 3 2019
8 comments
16,637 views