"No such host is known" problems with PostgresQLDirect 2.0

"No such host is known" problems with PostgresQLDirect 2.0

Postby 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;');
PgSqlConnection1.Open;

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 <0x00172> CoreLab.PostgreSql.l:w ()
in <0x00031> CoreLab.PostgreSql.l:a (CoreLab.Common.ITransaction)
in <0x0000e> CoreLab.Common.DbConnectionInternal:d (CoreLab.Common.ITransaction)
in <0x00119> CoreLab.Common.DbConnectionFactory:a (CoreLab.Common.DbConnectionBase)
in <0x000c6> CoreLab.Common.DbConnectionClosed:Open (CoreLab.Common.DbConnectionBase)

I tried putting the host name (127.0.0.1 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 1.10.3.0 while the other half show 2.0.0. Is that how it should look with 2.0 installed ?

Thanks

/Otto Blomqvist
Secom International
o2blom
 

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

Postby 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.
Yuri
 
Posts: 140
Joined: Mon 08 Nov 2004 12:07

mono

Postby o2blom » Tue 22 Feb 2005 19:33

ok. Thanks
o2blom
 


Return to dotConnect for PostgreSQL