Page 1 of 1

orasession with socket error

Posted: Sat 04 Nov 2006 07:48
by warey
env : delphi 7 ,odac 4.50.2.19 net , windows2k, oracle9i

in my project,if i place a TOraSession in the form ,and set connectionstring to connect oracle through Net style, it is ok at design time,but if i run the program, exception raised ,say some thing like "windows socket error: xxxxx (sendto .....) xxxxxxx" ("xxxxx" is describe with Chinese in the pc because i am )

i am sure the username,password,ip,sid,port is right

why? because it is ok at design-time.

and found others have the same problem in this forum,but no answer

Posted: Mon 06 Nov 2006 12:43
by Paul
Can you translate to English the text of the error message? Why is it in Chinese? Do you have Chinese regional settings on your computer?
Did you run the program on development machine? Try to reproduce this error with Delphi IDE in debug mode and with standalone application.

Posted: Wed 08 Nov 2006 09:04
by warey
because i think the chinese info is not very important :-) so...

when error occur, whether the standalone app is in my development pc,or in others pc , it doesn't work. in the ide design time ,it is ok,but run in ide use F9, doesn't work.

but!!!!!! very surprise, after that day, now it is ok!!, i don't know why. because the exe is just the doesn't work one several days ago.