The error "Cannot obtain Oracle Client information from registry"

The error "Cannot obtain Oracle Client information from registry"

The error "Cannot obtain Oracle Client information from registry" means that you don’t have Oracle client installed or the bitness of your application doesn't match the bitness of your Oracle Client.

 

--------------------------------------------------------------

(Example for x32)

 

1.) Make sure that "Platform target" of your application has value "x86" (not "Any CPU")

 

 

 

 

2.) Install x32 Oracle client

https://www.oracle.com/database/technologies/instant-client/microsoft-windows-32-downloads.html

 

3.) Make sure that the path to this client in the path environment variable is the very first (if there are several clients). Or set ORACLE_HOME environment variable.

 

4.) Create the correct TNS for your ORACLE server in the file:

%ORACLE_HOME%\instantclient_19_10\network\admin\tnsnames.ora

 

--------------------------------------------------------------------------------------

(Example for x64)

 

1.) Make sure that "Platform target" of your application has value "x64" (not "Any CPU")

 

 

 

 

2.) Install x64 Oracle client

https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html

 

3.) Make sure that the path to this client in the path environment variable is the very first (if there are several clients). Or set ORACLE_HOME environment variable.

 

4.) Create the correct TNS for your ORACLE server in the file:

%ORACLE_HOME%\instantclient_19_10\network\admin\tnsnames.ora

    • Related Articles

    • Cannot obtain Oracle Client information from registry.

      The error you are facing says that Oracle Client is not installed or the bitness of the application doesn't match to the bitness of the client. 1.) Install Oracle Client 2.) Configure the connection to your server in the tnsnames.ora file. 3.) Make ...
    • ODBC Driver For InterBase. Error:"Cannot load client library: <path libs>

      This error may indicate that the driver cannot locate the specified Client Library or that the library's bitness does not match the DSN's bitness. The Devart ODBC Driver for InterBase interacts with the server through the client library using a ...
    • Data Compare for Oracle - binary_double

      Please note that Direct mode does not support such types as BINARY_DOUBLE, BINARY_FLOAT and XMLTYPE.  You may find information about this in our documentation: ...
    • dotConnect for Oracle distribution

      dotConnect for Oracle is distributed in two ways: - As the installer that provides assemblies for Full .NET Framework, documentation, samples, and all the necessary files. - As NuGet packages with .NET Standard compatible assemblies for .NET Core. ...
    • IBDAC.Error:"Cannot load client library: <path libs>

      This error may indicate that IBDAC cannot locate the specified Client Library or that the library's bitness does not match the application's bitness. IBDAC interacts with the server through the client library using a special API. Client libraries are ...