Page 1 of 1

Mobile:A socket operation was attempted to an unreachable host

Posted: Wed 25 Oct 2006 08:02
by Delphi
Hi,

I have a problem with OraDirect 3.50 Mobile (trial version) and Pocket PC Emulator 2003.

When I try to open my Oracle DataBase (DbConnection.Open()), I get this error message "A socket operation was attempted to an unreachable host".


.- I set the "pooling" propiety to "false"
.- My Oracle DataBase is installed in my PC and I´m working in a intranet
.- My IDE is Visual Studio 2005


Do you know if I need any special configuration in VS2005?


Thanks for your support

Posted: Wed 25 Oct 2006 08:18
by Paul
Please check that network connection is established (with ActiveSync for example).
DNS does not work on mobile device. Try to use IP address in OracleConnection.Server
Do you have this problem with Pooling=true?

Posted: Wed 25 Oct 2006 08:31
by Delphi
Hi Paul,

yes, I have tried with "Pooling=true" and it doesn´t work.

I´m going to verify the network connections

Thanks for your quick answer

Posted: Fri 27 Oct 2006 09:51
by Delphi
Hi Paul,

the problem was solved, it was due to a bad emulator network connections configuration.

Is it posible to test the program in real device? (I´m testing the trial versión).

Thanks for your support

best regards

Posted: Fri 27 Oct 2006 10:42
by Paul
Yes, it is possible.