Mobile:A socket operation was attempted to an unreachable host

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Delphi
Posts: 3
Joined: Tue 24 Oct 2006 07:46

Mobile:A socket operation was attempted to an unreachable host

Post by Delphi » Wed 25 Oct 2006 08:02

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

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Wed 25 Oct 2006 08:18

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?

Delphi
Posts: 3
Joined: Tue 24 Oct 2006 07:46

Post by Delphi » Wed 25 Oct 2006 08:31

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

Delphi
Posts: 3
Joined: Tue 24 Oct 2006 07:46

Post by Delphi » Fri 27 Oct 2006 09:51

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

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 27 Oct 2006 10:42

Yes, it is possible.

Post Reply