Home > database >  Pb12 use ado.net to connect oracle, connection
Pb12 use ado.net to connect oracle, connection

Time:09-24

Pb12 using ado to connect is not the oracle, reading the newspaper fault is as follows:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
System. IO. FileNotFoundException: failed to load file or assembly "Oracle DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89 b483f429c47342" or one of its dependencies, the System cannot find the specified file,

File name: "Oracle DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89 b483f429c47342"

In Sybase. The original concept. The Db. Block. OraBlock. A ()

In Sybase. The original concept. The Db. Block. OraBlock.. Ctor ()

In Sybase. The original concept. The Db. DbRoutine. Connect (DbDrivers type, Object [] input, Dbms& The DBMS, DBVersion& DbVer String& User)



Warning: the assembly binding logging was shut down,

To enable the assembly bind failure logging, please keep registry value [registry key HKLM \ Software \ Microsoft \ Fusion! EnableLog] (DWORD) is set to 1,

Note: there will be some associated with assembly bind failure logging performance loss,

To shut down this function, please remove the registry value [registry key HKLM \ Software \ Microsoft \ Fusion! EnableLog],
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Visible, is due to the Oracle. DataAccess. DLL version does not match the problem, also in the configuration links PB12 provide two versions of the ADOrelease, respectively: 2.102.2.20 and 2.111.6.20 (why presets for these two? And I installed oracle10.2, find my version of the machine is 10.2.0.100, solving?
How to connect?

CodePudding user response:

You install ODP.NET?

CodePudding user response:

The host's problems have been solved? I also met the same problem, can you share?

CodePudding user response:

refer to the second floor gg_lihui response:
the host's problems have been solved? I also met the same problem, can you share?



ODAC installation, after installation, usually in.. \ \ bin \ product\11.2.0\dbhome_1\ODP.NET 2. X \ here is oracle dataAccess. DLL.
To install gacutil. Exe