Mobile:A socket operation was attempted to an unreachable host

Mobile:A socket operation was attempted to an unreachable host

Postby 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
Delphi
 
Posts: 3
Joined: Tue 24 Oct 2006 07:46

Postby 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?
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Postby 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

Postby 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
Delphi
 
Posts: 3
Joined: Tue 24 Oct 2006 07:46

Postby Paul » Fri 27 Oct 2006 10:42

Yes, it is possible.
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06


Return to dotConnect for Oracle