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.
Zeos 7.1.3a x PostgreSql 9.1 Connection Error
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Zeos 7.1.3a x PostgreSql 9.1 Connection Error
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
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
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.
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.