Print Thread
Oracle client has been changed to Oracle10, Not logged on.
#34301 06/30/09 01:45 PM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
Dear Developers!

I use this code part in a dll:
...
try
OCSSession.Connected := False;
OCSSession.Connected := True;
Result := True;
except
...
end;


The Oracle9 client has been changed to Oracle10, and in case of OCSSession.Connected := True; is in exception, but
the exception.message = ''; :-((
During debug, I

Re: Oracle client has been changed to Oracle10, Not logged on.
recomp #34318 07/01/09 08:57 AM
Joined: Aug 1999
Posts: 22,198
Member
Offline
Member
Joined: Aug 1999
Posts: 22,198
This indicates that the Oracle Client is not properly installed. Please uninstall the Oracle Client and do a fresh new installation.


Marco Kalter
Allround Automations
Re: Oracle client has been changed to Oracle10, Not logged on.
Marco Kalter #34328 07/01/09 11:28 AM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
Yes, we did it but the result is the same. If we return to Client 9 everything is OK. If we install a Client with a greater version the error occurs.

Addition information: after calling OCIEnvCreate(envhp, EnvMode, nil, nil, nil, nil, 0, nil) not only Lastocierror = -1 but envhp = Nil.

Best Regards
Tom

Re: Oracle client has been changed to Oracle10, Not logged on.
recomp #34337 07/02/09 09:18 AM
Joined: Aug 1999
Posts: 22,198
Member
Offline
Member
Joined: Aug 1999
Posts: 22,198
This error:

"The procedure entry point longjmp could not be located in dynamic link library orauts.dll"

clearly indicates a mismatch of Oracle DLL versions.


Marco Kalter
Allround Automations
Re: Oracle client has been changed to Oracle10, Not logged on.
Marco Kalter #34348 07/03/09 08:00 AM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
OK.
And now what can I do?
Any ideas?

Best Regards
Tom

Re: Oracle client has been changed to Oracle10, Not logged on.
recomp #34349 07/03/09 09:23 AM
Joined: Aug 1999
Posts: 22,198
Member
Offline
Member
Joined: Aug 1999
Posts: 22,198
I would uninstall the Oracle client(s), make sure that no more Oracle directories exist, remove any remaining Oracle directories from the PATH environment variable, and reinstall the 11g client. I don't think that the error about the missing function from orauts.dll can occur again after this.


Marco Kalter
Allround Automations
Re: Oracle client has been changed to Oracle10, Not logged on.
Marco Kalter #34369 07/10/09 10:50 AM
Joined: Feb 2004
Posts: 8
R
recomp Offline OP
Member
OP Offline
Member
R
Joined: Feb 2004
Posts: 8
Hi Marco!
Thank you for your answer.
The error occurred again after the reinstallation but we found that another Oracle product (Oracle Connector) uses orauts.dll also. The client finds this one. Although the path was correct, the client found the one of the Oracle Connector.
The solution is the usage of "Instant client" until the Oracle answer...
Tom

Last edited by recomp; 07/10/09 10:50 AM.

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.038s Queries: 15 (0.010s) Memory: 2.5212 MB (Peak: 3.0392 MB) Data Comp: Off Server Time: 2024-04-19 02:31:39 UTC
Valid HTML 5 and Valid CSS