Kbase P121307: Error -1012 when connecting to 64-bit Oracle database on Windows 64-bit
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  06/11/2009 |
|
Status: Verified
SYMPTOM(s):
Error -1012 when connecting to 64-bit Oracle database
ORACLE error -1012 see "ORACLE Error Messages and Codes Manual". (1252)
** not logged on
Failed to connect to ORACLE database . (1451)
Unable to load shared library error is displayed in the dataserv.lg file
FACT(s) (Environment):
PATH environment variable does include %ORACLE_HOME%\bin
Oracle 10g 64-bit
Oracle 10g
Oracle DataServer
OpenEdge 10.1B 32-bit
Windows 64-bit
CAUSE:
Since Progress/OpenEdge is 32-bit, the 64-bit OCIW32.DLL/OCI.DLL cannot be loaded.
FIX:
Install a 32-bit version of ORACLE client.
The 32-bit ORACLE client directory, which contains the 32-bit OCIW32.DLL/OCI.DLL files, will be specified before the %ORACLE_HOME%\bin directory, where the 64-bit OCIW32.DLL and OCI.DLL are located, in the PATH environment variable.
The ORACLE_HOME environment variable needs also to be added and should point to the 64-bit Oracle installation (for example: C:\oracle\product\10.2.0\db_1).