ErrorCode 08006 - unreachable host

ErrorCode 08006 - unreachable host

Postby LaserTech » Fri 04 Sep 2009 00:26

Hi, I´m using dotConnect for PostgreSQL Mobile Standard 4.55.39 06-Aug-2009 and I am having connection problems.

When I try to connect into my database in development time, the object PGSQLConnection

connect without problems. But... in run time, it´s returning an error:

ErrorCode: 08006
Message = "A socket operation was attempted to an unreachable host"


As you can see, I saved the screens with the described situations.

I'm using:

- PostgreSQL 8.2.5 win32
- Visual Studio 2008
- Pocket PC 2003 SE Emulator
- dotConnect for PostgreSQL Mobile Standard 4.55.39 06-Aug-2009

It would not be the case to try to use another version of this driver ?

Image Error:
http://www.lasertech.com.br/images/error_debug.gif

Image connection sucessfully:
http://www.lasertech.com.br/images/connection_sucessfuly.gif

Thanks
LaserTech
 
Posts: 4
Joined: Mon 17 Aug 2009 11:55
Location: Brazil

Postby Shalex » Mon 07 Sep 2009 07:22

In the Host parameter of your connection string please set the IP address of the host of the PostgreSQL database to which to connect (not the name).

The 4.55.42.2 build of dotConnect for PostgreSQL Mobile is available. Please try it and notify us about the results. Could you please post your connection string here?
Shalex
Devart Team
 
Posts: 7792
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL