Return to site

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key

broken image


Do not install SQL Developer into any existing ORACLEHOME. You will not be able to uninstall it using Oracle Universal Installer. Also, do not install SQL Developer into an existing sqldeveloperfolder or directory. Do you have SQL.Plus installed in C: Oracle product instantclient121? If not, can you add it from the Instant Client download page? If you have SQL.Plus available in C: Oracle product instantclient121, can you start it to verify that things are working correctly? Why not try SQL.Developer which you can download from OracleTechnet which is also for free and more liklely to work on Windows 7 without quite so much patching and you can get it working without needing to configure sql.net on the client with its direct connection mode. @Marek: I have little experience with the Instant Client. From the FAQ it looks like some features require that you define an ORACLEHOME system variable. The link also indicates how you could setup instantclient in the registry. I don't know if this would work with Pl/sql Developer (I've always used the Oracle full client).

Go Up to Database Connectivity (FireDAC)

This topic describes how to connect to Oracle Server.

  • 2Client Software
    • 2.1Windows Client Software
Pl sql developer oracle client not properly installed oracle home keypad

Supported Versions

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key

The FireDAC native driver supports Oracle Enterprise, Standard (ex Workgroup), and Express (ex Personal) server editions version 8.0.3 and later. For detailed discussion on Oracle usage in FireDAC for the Delphi application, read the 'Using Oracle with FireDAC' chapter.

Client Software

Windows Client Software

FireDAC requires one of the following Oracle x86 or x64 client software types to be installed on the workstation:

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key
  • 'Fat' Oracle Client (details) -- It requires the standard install procedure. The driver uses the client that is installed in the primary Oracle Home, if not specified explicitly.
  • 'Thin' Oracle Instant Client (details) -- The driver uses the client, which is either copied into a folder in the PATH or into the application EXE folder, if not specified explicitly. See 'Using Instant Client' below.

If the Oracle client software has not been installed properly, an exception is raised when trying to connect:

[FireDAC][Phys][Ora]-1309. OCI is not properly installed on this machine (NOE1/INIT)

Using Instant Client

To install Instant Client, download the Oracle Instant x86 or x64 client archive, unpack it and copy the files:

  • oci.dll
  • oraocci11.dll
  • oraociei11.dll
  • orasql11.dll

in your application EXE folder or in a folder in the PATH.

When you are using TNS names, put the tnsnames.ora file in the same folder or set the TFDPhysOracleDriverLink.TNSAdmin property value to a folder path with tnsnames.ora or use the TNSAdmin driver configuration parameter.

Set TFDPhysOracleDriverLink.NLSLang to the required value or use the NLSLang driver configuration parameter.

macOS Client Software

FireDAC requires:

  • the libclntsh.dylib x86 client library.

You can download it as Instant Client for macOS (here)

To install on Linux, read the following articles:

  • Instant Client Installation - for basic Oracle Instant Client installation steps;
  • SQL*Plus Instant Client - for advanced Oracle Instant Client configuration, including configuring language and TNS parameters.

Linux Client Software

To install the Linux client library:

  1. Install the libaio library:
    • On Ubuntu Server 16.04 LTS, run:
      sudo apt-get install libaio1
    • On Red Hat Enterprise Linux 7, run:
      sudo yum install libaio
  2. Install the Instant Client for Linux as described in any of the following articles:
    • Instant Client Installation - for basic Oracle Instant Client installation steps.
    • SQL*Plus Instant Client - for advanced Oracle Instant Client configuration, including configuring language and TNS parameters.

Driver Linkage

To link the driver:

  • Drop a TFDPhysOracleDriverLink component from the 'FireDAC Links' palette page.
  • Or include the FireDAC.Phys.Oracle unit in an uses clause.

Connection Definition Parameters

To connect to an Oracle DBMS, most applications require that you specify DriverID, Database, User_Name, and Password (see Defining Connection (FireDAC) for details).

DriverID=Ora

ParameterDescriptionExample value
Database

The value can be one of the following:

  • TNS alias name -- specifying which database to connect to.
  • TNS connection descriptor -- as it is in TNSNames.ora
  • Oracle connection string -- as it is in SQL*Plus.
  • Oracle easy connect string -- as it is described here.
  • OraSrv
  • (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = OraSrv)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))
  • scott/tiger@OraSrv
  • system/manager@OraSrv as sysdba
  • OraSrv:1521/orcl
OSAuthent Specify Yes to use OS authentification, and No to use the DBMS authentification.No
User_Name The Oracle user name, if OSAuthent=NoScott
Password The Oracle user password, if OSAuthent=Notiger
AuthMode

The Oracle authentification mode: Wargame airland battle review.

  • Normal -- standard user. Default value.
  • SysDBA -- user with database administrator privileges.
  • SysOper -- user with database operator privileges.
  • SysASM -- user with database administrative privileges for Oracle Automatic Storage Management instances.
  • SysBackup -- user with database administrative privileges for Backup and Recovery operations.
  • SysDG -- user with database administrative privileges for Oracle Data Guard operations.
  • SysKM -- user with database administrative privileges for Transparent Data Encryption keystore operations.
Note: Further information at Oracle Database Administrator's Guide
Normal
ReadTimeout Specifies the timeout value in milliseconds for the receive or read operations.

Specifying zero means no timeout.

Note: Use this parameter in environments where clients shut down on occasion, either deliberately or abnormally. Otherwise, the database server could be waiting for data from clients that may be shut down or experiencing difficulties.
WriteTimeout Specifies the timeout value in milliseconds for the database server to complete a send operation to clients.

Specifying zero means no timeout.

Note: Use this parameter in environments where clients shut down on occasion, either deliberately or abnormally. Otherwise, the database server may continue to send responses to unavailable clients.
CharacterSet The character set for the connection. If not specified, the NLS_LANG variable value is used.
  • UTF8
  • cl8mswin1251
BooleanFormat

Defines how to represent Boolean values:

  • Choose -- uses the Boolean type to represent PL/SQL Boolean parameters. This is the default mode.
    Note: This is valid for Oracle 12c or higher. For previous versions of Oracle, the Integer type is used when selecting Choose.
  • Integer -- uses the Integer type to represent PL/SQL Boolean parameters, where False = 0 and True = 1.
  • String -- uses the String type to represent PL/SQL Boolean parameters, where False = 'F' and True = 'T'.
Choose
ApplicationName Name of the application. If specified, this value is stored in the V$SESSION column MODULE.AllBooks
OracleAdvanced Additional Oracle session options. For details, see the ALTER SESSION SET chapter, the 'Initialization Parameters and ALTER SESSION' paragraph. A value format is - =[;..].
NewPassword Specifies the new Oracle user password. FireDAC connects to the DB using the old password and immediately changes it to the new one.tiger2
MetaDefSchema Specifies the default schema for the application. The design time code omits the schema name in object names if it is equal to MetaDefSchema.SCOTT

Use Cases

  • Connect to a database using the predefined TNS name (stored in tnsnames.ora):
  • Connect to a database using host, port, and instance name info:
  • Connect to a local database as sysdba:
  • Connect to a database using the TNS name and change the password:
  • Connect to a database using the easy connect string:

See Also

Retrieved from 'http://docwiki.embarcadero.com/RADStudio/Sydney/e/index.php?title=Connect_to_Oracle_Server_(FireDAC)&oldid=270591'
Hello friends.

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key Largo

If you are using PLSQL developer to connect to the ORACLE database may have faced the problem 'SQL*Net not properly installed'.
This problem occur beacause ORACLE_HOME and the oci.dll path location may not have been configured in the preferences.
To do this, go to Tools>Preferences.
Now set the Oracle Home as the location of the ORACLE_HOME variable or where the Oracle is installed. In my case it is:
C:OracleDataBaseproduct10.2.0db_1
After this set the oci.dll file location just under the Oracle Home text field.In my case it is:
C:OracleDataBaseproduct10.2.0db_1binoci.dll

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Keys


Fob
click Apply>OK
Now restart the PLSQL developer. This should solve the problem.

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key Lime

Oracle

Supported Versions

The FireDAC native driver supports Oracle Enterprise, Standard (ex Workgroup), and Express (ex Personal) server editions version 8.0.3 and later. For detailed discussion on Oracle usage in FireDAC for the Delphi application, read the 'Using Oracle with FireDAC' chapter.

Client Software

Windows Client Software

FireDAC requires one of the following Oracle x86 or x64 client software types to be installed on the workstation:

  • 'Fat' Oracle Client (details) -- It requires the standard install procedure. The driver uses the client that is installed in the primary Oracle Home, if not specified explicitly.
  • 'Thin' Oracle Instant Client (details) -- The driver uses the client, which is either copied into a folder in the PATH or into the application EXE folder, if not specified explicitly. See 'Using Instant Client' below.

If the Oracle client software has not been installed properly, an exception is raised when trying to connect:

[FireDAC][Phys][Ora]-1309. OCI is not properly installed on this machine (NOE1/INIT)

Using Instant Client

To install Instant Client, download the Oracle Instant x86 or x64 client archive, unpack it and copy the files:

  • oci.dll
  • oraocci11.dll
  • oraociei11.dll
  • orasql11.dll

in your application EXE folder or in a folder in the PATH.

When you are using TNS names, put the tnsnames.ora file in the same folder or set the TFDPhysOracleDriverLink.TNSAdmin property value to a folder path with tnsnames.ora or use the TNSAdmin driver configuration parameter.

Set TFDPhysOracleDriverLink.NLSLang to the required value or use the NLSLang driver configuration parameter.

macOS Client Software

FireDAC requires:

  • the libclntsh.dylib x86 client library.

You can download it as Instant Client for macOS (here)

To install on Linux, read the following articles:

  • Instant Client Installation - for basic Oracle Instant Client installation steps;
  • SQL*Plus Instant Client - for advanced Oracle Instant Client configuration, including configuring language and TNS parameters.

Linux Client Software

To install the Linux client library:

  1. Install the libaio library:
    • On Ubuntu Server 16.04 LTS, run:
      sudo apt-get install libaio1
    • On Red Hat Enterprise Linux 7, run:
      sudo yum install libaio
  2. Install the Instant Client for Linux as described in any of the following articles:
    • Instant Client Installation - for basic Oracle Instant Client installation steps.
    • SQL*Plus Instant Client - for advanced Oracle Instant Client configuration, including configuring language and TNS parameters.

Driver Linkage

To link the driver:

  • Drop a TFDPhysOracleDriverLink component from the 'FireDAC Links' palette page.
  • Or include the FireDAC.Phys.Oracle unit in an uses clause.

Connection Definition Parameters

To connect to an Oracle DBMS, most applications require that you specify DriverID, Database, User_Name, and Password (see Defining Connection (FireDAC) for details).

DriverID=Ora

ParameterDescriptionExample value
Database

The value can be one of the following:

  • TNS alias name -- specifying which database to connect to.
  • TNS connection descriptor -- as it is in TNSNames.ora
  • Oracle connection string -- as it is in SQL*Plus.
  • Oracle easy connect string -- as it is described here.
  • OraSrv
  • (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = OraSrv)(PORT = 1521)))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))
  • scott/tiger@OraSrv
  • system/manager@OraSrv as sysdba
  • OraSrv:1521/orcl
OSAuthent Specify Yes to use OS authentification, and No to use the DBMS authentification.No
User_Name The Oracle user name, if OSAuthent=NoScott
Password The Oracle user password, if OSAuthent=Notiger
AuthMode

The Oracle authentification mode: Wargame airland battle review.

  • Normal -- standard user. Default value.
  • SysDBA -- user with database administrator privileges.
  • SysOper -- user with database operator privileges.
  • SysASM -- user with database administrative privileges for Oracle Automatic Storage Management instances.
  • SysBackup -- user with database administrative privileges for Backup and Recovery operations.
  • SysDG -- user with database administrative privileges for Oracle Data Guard operations.
  • SysKM -- user with database administrative privileges for Transparent Data Encryption keystore operations.
Note: Further information at Oracle Database Administrator's Guide
Normal
ReadTimeout Specifies the timeout value in milliseconds for the receive or read operations.

Specifying zero means no timeout.

Note: Use this parameter in environments where clients shut down on occasion, either deliberately or abnormally. Otherwise, the database server could be waiting for data from clients that may be shut down or experiencing difficulties.
WriteTimeout Specifies the timeout value in milliseconds for the database server to complete a send operation to clients.

Specifying zero means no timeout.

Note: Use this parameter in environments where clients shut down on occasion, either deliberately or abnormally. Otherwise, the database server may continue to send responses to unavailable clients.
CharacterSet The character set for the connection. If not specified, the NLS_LANG variable value is used.
  • UTF8
  • cl8mswin1251
BooleanFormat

Defines how to represent Boolean values:

  • Choose -- uses the Boolean type to represent PL/SQL Boolean parameters. This is the default mode.
    Note: This is valid for Oracle 12c or higher. For previous versions of Oracle, the Integer type is used when selecting Choose.
  • Integer -- uses the Integer type to represent PL/SQL Boolean parameters, where False = 0 and True = 1.
  • String -- uses the String type to represent PL/SQL Boolean parameters, where False = 'F' and True = 'T'.
Choose
ApplicationName Name of the application. If specified, this value is stored in the V$SESSION column MODULE.AllBooks
OracleAdvanced Additional Oracle session options. For details, see the ALTER SESSION SET chapter, the 'Initialization Parameters and ALTER SESSION' paragraph. A value format is - =[;..].
NewPassword Specifies the new Oracle user password. FireDAC connects to the DB using the old password and immediately changes it to the new one.tiger2
MetaDefSchema Specifies the default schema for the application. The design time code omits the schema name in object names if it is equal to MetaDefSchema.SCOTT

Use Cases

  • Connect to a database using the predefined TNS name (stored in tnsnames.ora):
  • Connect to a database using host, port, and instance name info:
  • Connect to a local database as sysdba:
  • Connect to a database using the TNS name and change the password:
  • Connect to a database using the easy connect string:

See Also

Retrieved from 'http://docwiki.embarcadero.com/RADStudio/Sydney/e/index.php?title=Connect_to_Oracle_Server_(FireDAC)&oldid=270591'
Hello friends.

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key Largo

If you are using PLSQL developer to connect to the ORACLE database may have faced the problem 'SQL*Net not properly installed'.
This problem occur beacause ORACLE_HOME and the oci.dll path location may not have been configured in the preferences.
To do this, go to Tools>Preferences.
Now set the Oracle Home as the location of the ORACLE_HOME variable or where the Oracle is installed. In my case it is:
C:OracleDataBaseproduct10.2.0db_1
After this set the oci.dll file location just under the Oracle Home text field.In my case it is:
C:OracleDataBaseproduct10.2.0db_1binoci.dll

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Keys


click Apply>OK
Now restart the PLSQL developer. This should solve the problem.

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key Lime

Pl Sql Developer Oracle Client Not Properly Installed Oracle Home Key Fob


Cheers.



broken image