Page 1 of 1

PostgreSQL Connect Error

Posted: Mon 26 Sep 2011 20:30
by eduardomendes
Hi,

when trying to connect with an encrypted password the following error occurs:

|----------------------------------------------------------------------------------------------------|
|Error: Cannot connect to database
|----------------------------------------------------------------------------------------------------|
|Call Stack Information:
|----------------------------------------------------------------------------------------------------|
|Address |Module |Unit |Class |Procedure/Method |Line|
|----------------------------------------------------------------------------------------------------|
|008C34F4|vcl70.bpl |Forms.pas |TScreen |SetCursor | |
|0B8B1E97|dacvcl70.bpl |DacVcl | |SetCursor | |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|40003410|rtl70.bpl |System.pas | |_GetMem | |
|771E25C9|ntdll.dll | | |RtlReleaseSRWLockShared | |
|0D02AE3C|pgprovider70.bpl|Pgclassesuni.pas |TPgSQLConnection |ProcessInternalException| |
|40006E20|rtl70.bpl |System.pas | |_LStrClr | |
|400065B4|rtl70.bpl |System.pas | |_RaiseExcept | |
|0D017664|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |RaiseError | |
|0D0176E4|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Authenticate | |
|0D015A08|pgprovider70.bpl|Pgsqlprotocoluni.pas|TPgSQLProtocol |Connect | |
|0B824DE8|dac70.bpl |Dbaccess.pas |TCustomDAConnection|DoConnect | |
|----------------------------------------------------------------------------------------------------|

Ex:
UniConnection.ProviderName := 'PostgreSQL';
UniConnection.UserName := 'admin';
UniConnection.PassWord := 'ÿúïúª©';
UniConnection.Server := 'TEST_SERVER';
UniConnection.DataBase := 'TEST_DEVART';


If the SpecificOptions "UseUnicode" is active I can connect, but I can not use this feature because errors occur with some characters that use.

I can contect by PgAdmin using the encrypted password!


How can I fix this problem?

Thanks!

Posted: Tue 27 Sep 2011 07:26
by AlexP
Hello,

Thank you for the information.
We have reproduced the problem.
We will try to fix it in the nearest product version.

Posted: Tue 27 Sep 2011 11:15
by eduardomendes
When will be released the next UNIDAC version?

Thanks...

Posted: Tue 27 Sep 2011 15:35
by AlexP
Hello,

The next nearest build will be released approximately in two months

Posted: Fri 30 Sep 2011 14:58
by AlexP
Hello,

We have fixed the problem.
This fix will be included in the next build.