Can't initialize OCI Error 1 : While connecting to TOAD Getting This Warning Popup
Can't initialize OCI Error 1
Connections using sql*plus or sql*developer using the OCI thick driver are succeeding fine.
If you have more than 1 Oracle home installed, make sure TOAD is using the correct Oracle_home.
You can either specify a TOAD_HOME in toad, or you can switch to the correct ORACLE_HOME
If this does not work for you, one work around can be to create an environment variable ORACLE_HOME and set it to the correct Oracle_home.
Some versions of TOAD still will generate this error, even all parameters are ok.
If you are sure the correct ORACLE_HOME is inside the PATH environment variable and all registry settings are ok, than you will need to manually create the ORACLE_HOME environment variable.
In order to create this environment variable:
open up the Control Panel
Double click on the SYSTEM icon
Goto the Advanced tab page
Choose environment variables
Now, add a new ‘User variable’ for ORACLE_HOME and set its value to the correct location of the Oracle home you want to use.
Connections using sql*plus or sql*developer using the OCI thick driver are succeeding fine.
If you have more than 1 Oracle home installed, make sure TOAD is using the correct Oracle_home.
You can either specify a TOAD_HOME in toad, or you can switch to the correct ORACLE_HOME
If this does not work for you, one work around can be to create an environment variable ORACLE_HOME and set it to the correct Oracle_home.
Some versions of TOAD still will generate this error, even all parameters are ok.
If you are sure the correct ORACLE_HOME is inside the PATH environment variable and all registry settings are ok, than you will need to manually create the ORACLE_HOME environment variable.
In order to create this environment variable:
open up the Control Panel
Double click on the SYSTEM icon
Goto the Advanced tab page
Choose environment variables
Now, add a new ‘User variable’ for ORACLE_HOME and set its value to the correct location of the Oracle home you want to use.
Comments
Post a Comment