Where can i find Oracle.DataAccess.dll?

0

Can anyone help me how can i find Oracle.dataAccess.all for Oracle Instant Client 11.2.0.4.0? I try to connect my application with database, but i got this error:

Could not load file or assembly 'Oracle.Web, Version=4.112.1.2, Culture=neutral' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from RESULT: 0x80131040)

Can someone help me with this?

database
oracle
asked on Stack Overflow Jun 24, 2020 by norganorga

1 Answer

0

By default the Oracle Instant Client does not include the Oracle Data Provider for .NET, i.e. Oracle.DataAccess.dll. You must download and install from ODAC Runtime Downloads

Note, the provider is very sensitive regarding the version. ODP.NET version 4.112.1.2 (which means 11.2.0.1.2) does not work with Oracle Client 11.2.0.4.0.

They have to match exactly!

Usually it does not make any sense to install an Oracle Instant Client and then add the ODP.NET. Install the needed ODAC from above, the Oracle Instant Client is always included in any Oracle Client installation package.

answered on Stack Overflow Jun 24, 2020 by Wernfried Domscheit

User contributions licensed under CC BY-SA 3.0