"No such host is known" problems with PostgresQLDirect 2.0

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply

"No such host is known" problems with PostgresQLDirect 2.0

Post by o2blom » Thu 17 Feb 2005 23:55

Hello !

This works beatifully with the version that comes with Delphi 8.

PgSqlConnection1:=PgSqlConnection.Create ('User=testing;Database=testing;');

But gives the following error message in the New 2.0 version. I'm running mono 1.05 and apache 2.052

Error Message: HTTP 500.

Stack Trace: CoreLab.PostgreSql.PgSqlException: No such host is known
in CoreLab.PostgreSql.l:w ()
in CoreLab.PostgreSql.l:a (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionInternal:d (CoreLab.Common.ITransaction)
in CoreLab.Common.DbConnectionFactory:a (CoreLab.Common.DbConnectionBase)
in CoreLab.Common.DbConnectionClosed:Open (CoreLab.Common.DbConnectionBase)

I tried putting the host name ( and 'localhost') in the connect string but it does not work. We are seriously considering buying this for our development, but basic things like this NOT working is scaring us.

Any ideas ?

Also, in Delhi half of the components show a version of while the other half show 2.0.0. Is that how it should look with 2.0 installed ?


/Otto Blomqvist
Secom International

Posts: 140
Joined: Mon 08 Nov 2004 12:07

Re:"No such host is known" problems with PostgresQLDirect 2.0

Post by Yuri » Tue 22 Feb 2005 08:22

PostgreSQLDirect 2.0 doesn't support Mono. We are planning to support Mono at the next version of the provider that will be available in about a month.



Post by o2blom » Tue 22 Feb 2005 19:33

ok. Thanks

Post Reply