SQL *Net Initialization Error?

nvdmerwe

Member
We recently purchased DOA 3.3.1 with object support, and we're having trouble with re-distributing our applications to other machines without C++ Builder 4.

As soon as we try and connect to the database, we get an error as follows:

------------------------------
Initialization Error
SQL *Net not properly installed

OracleHomeKey: SOFTWARE\ORACLE
OracleHomeDir:

------------------------------
OR for the other executable
------------------------------
Error reading ReportSession -> Connected:Initialization Error
SQL *Net not properly installed

OracleHomeKey: SOFTWARE\ORACLE
OracleHomeDir:
-------------------------------

The Oracle 8i client seems to be working fine, and I can connect to the required database. The connect test in Net8 Easy Config works, and I can also connect with SQLNet8. It seems from the above error messages that DOA cannot find the Oracle Home? The "ORACLE_HOME" registry entry seems to be correct "D:\Oracle\Ora81" in this case, and both this directory and "D:\Oracle\Ora81\bin" appear in the path.
 
We have had a few reports like this where the HOME_COUNTER registry key was incorrectly set to 0 by the Oracle Installer. This key is located in the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES section. It should be set to the number of oracle_home's that you have installed, which should of course at least be 1. We will explicitly handle this error situation in the next patch release.

------------------
Marco Kalter
Allround Automations
 
Back
Top