Windows ESocketError NET
Posted: Tue 23 Nov 2004 19:40
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
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