Could not load file or assembly 'Oracle.DataAccess, Version=2.112.4.0

0

I received code from my client, the web.config has following entry:

<add assembly="Oracle.DataAccess, Version=2.112.4.0, Culture=neutral, PublicKeyToken=89B483F429C47342" />

From the compile time error in Visual Studio 2019 in my vb.net project targeting framework 4.0, it seems I have to install Oracle Data Access component.

Error message: Could not load file or assembly 'Oracle.DataAccess, Version=2.112.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  

However from the Oracle site https://www.oracle.com/database/technologies/odac-nuget-downloads.html I am not able to find suitable XCopy file which can fix this error.

I tried 64bit but that does not worked. Further, it is very hard to find which DLL will have the version required in web.config.

Any help please?

.net
oracle
asked on Stack Overflow Apr 22, 2020 by TechTurtle

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0