I'using delphi 7 on a winxp pro with oracle 8.1.7 on a Win 2003 server.
When I connect TOraSession from design time it is OK, but when I run my program setting torasession propterts user, password, server and connect the below error occurs:
Project App.exe raise exception ESocketError with message 'Windows socket error: No connection could be made because the trget machine actively refused (10061), on API connect.' Process stopped. Use step or run to continue
After this another dialog error is shown, with message:
Project App.exe raise exception EOraError with message 'NET: Service is unavailable'.Process stopped. Use step or run to continue
Follow the Line and statement that the erro occurs:
Datamodule1.OraSession1.Connected := True;
(* my session is a TOraSession Object *)
I could not understand the error, because in design time the Orasession1 connect sucessifull.
I need help ...
Tks
Windows ESocketError NET
TNS Connection OK
The connection with oracle is OK.
I could connect from design-time, change TOraSessio.Connected = True, but I could not connect on runtime, when the error explained on my fisrt post occurs
I could connect from design-time, change TOraSessio.Connected = True, but I could not connect on runtime, when the error explained on my fisrt post occurs