Odp.net The solution to the error of "providing program is not compatible with Oracle client version" error
Oracle ODP.NET 11G (11.1.0.6.20) instant client as a data provider in the ASP.NET project as a data provider may encounter the following errors: "The program is not compatible with the Oracle client version."
The solution to this problem is to ensure that all necessary DLL corresponding to the corresponding ODP.NET versions is located in the same directory as executable files. ODP.NET is very sensitive to the difference between the version and is not allowed to use different versions.
Operation steps:
Download the appropriate ODP.NET version from Oracle's official website.
Unzip the downloaded zip file. -
All jar files in the folder in the folder. (This step is wrong, it should be DLL file, which has been corrected here) -
Find and copy the following DLL file: -
-
OCI.DLL (renamed by 'oci.dll.dbl')
Oracle.dataaccess.dll -
Oraciicus11.dll -
Oraops11w.dll -
Olannzsbb11.dll -
Oracci11.dll -
OCIW32.dll (renamed by 'OCIW32.dll.dbl') -
-
Paste the duplicated DLL file into a folder containing the C#executable file.
- After completing these steps, it will ensure that all the necessary components are available, thereby solving the compatibility problem of the ODP.NET version, and the successful Oracle database connection and data retrieval.
The above is the detailed content of Why Is My ODP.NET Provider Incompatible with My Oracle Client Version?. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn