Page 1 of 1

Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Posted: 19.09.2014, 14:56
by calico
Hi,

When trying to connect the following error occurs ZConnection,
on exact time of connection
"Format '% ' invalid or incompatible with argument"
only on Windows XP and Vista.
any idea to solve this?

Tks.

Re: Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Posted: 22.09.2014, 09:35
by marsupilami
Hello calico,

what version pf PostgreSQL do you use? How is the configuration of ypou database? How is the configuration of your ZConnection-Object?
In most cases it helps to use some kind of exception stack generator to trace these things like MadExcept or the corresponding things from the Jedi Code Library as these can show where the exception is generated.
Best regards,

Jan

Re: Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Posted: 23.09.2014, 20:34
by calico
Hi,

The settings are:

Postgresql : 8.4 Encode: latin1 (on debian)

object dbsBanco: TZConnection (V7.1.3a)
ControlsCodePage = cCP_UTF8 (not exists Latin1)
AutoEncodeStrings = False
Properties.Strings = (
'controls_cp=CP_UTF8')
Port = 5432
Protocol = 'postgresql' (or postgresql8)
Left = 101
Top = 231
end
Zconnection.Connected := true; (Error: "Format '% ' invalid or incompatible with argument")
the error seems to happen in connection dll libpq8.

Tks.