Issue initializing environment with Oracle 10 client
Posted: Fri 11 Jan 2019 13:54
This is specific to using the Oracle 10 client with UnicodeEnvironment set to True.
With the newer ODAC releases (see note below) I receive:
exception class EOCIInitError with message 'Can't initialize OCI. Error -1'.
This occurs on the call:
Res := Home.OCI8.OCIEnvCreate(FhOCIEnv, InitMode, nil, nil, nil, nil, 0, nil);
The error occurs only when UnicodeEnvironment is true. The value of InitMode when I get the error is 4210691.
Note:
I believe this is an issue with the newer versions of ODAC as a compiled version of my software from early 2018 does not show the issue and initializes the Oracle 10 client in Unicode mode with no problems.
I am using Oracle Instant Client 10.1 (10.1.0.4.0) for this test.
Any help is appreciated. Thanks.
-Mark Ford
With the newer ODAC releases (see note below) I receive:
exception class EOCIInitError with message 'Can't initialize OCI. Error -1'.
This occurs on the call:
Res := Home.OCI8.OCIEnvCreate(FhOCIEnv, InitMode, nil, nil, nil, nil, 0, nil);
The error occurs only when UnicodeEnvironment is true. The value of InitMode when I get the error is 4210691.
Note:
I believe this is an issue with the newer versions of ODAC as a compiled version of my software from early 2018 does not show the issue and initializes the Oracle 10 client in Unicode mode with no problems.
I am using Oracle Instant Client 10.1 (10.1.0.4.0) for this test.
Any help is appreciated. Thanks.
-Mark Ford