Zeos 7.1.3a x PostgreSql 9.1 Connection Error

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
calico
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 03.10.2006, 15:48

Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Post 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.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1939
Joined: 17.01.2011, 14:17

Re: Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Post 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
calico
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 03.10.2006, 15:48

Re: Zeos 7.1.3a x PostgreSql 9.1 Connection Error

Post 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.
Post Reply