Page 1 of 1
Propriedade EncryptedPassword não existe
Posted: Thu 10 Oct 2013 14:58
by Danieln
Good Morning,
After unintall Devart Uniquery 3.1 and install devart uniquery version 5.1 is the following error when running the program:
---------------------------
Debugger Exception Notification
---------------------------
Project TTOrder.exe raised exception class EReadError with message 'Propriedade EncryptedPassword não existe'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------
Devart uninstalled 2 times and deletes pas, dcus and bpl files.
Re: Propriedade EncryptedPassword não existe
Posted: Fri 11 Oct 2013 07:49
by AlexP
hello,
Please also make sure there are no old *.dcu files of your project remained, and if they remained, delete them and rebuild the whole project (Build All).
Re: Propriedade EncryptedPassword não existe
Posted: Fri 11 Oct 2013 12:02
by Danieln
As I mentioned in the previous post, already deleted the DCUs and ran the BUILD ALL.
The problem persists.
Re: Propriedade EncryptedPassword não existe
Posted: Mon 14 Oct 2013 08:56
by AlexP
Hello,
Please send your module (*.Pas and *.dfm), working with which causes the error
Re: Propriedade EncryptedPassword não existe
Posted: Mon 14 Oct 2013 11:57
by Danieln
Code: Select all
unit TTDDB;
interface
uses
SysUtils, Classes, DB, DBTables, Uni, DBAccess, MemDS, ODBCUniProvider,
PostgreSQLUniProvider, UniProvider, OracleUniProvider, DASQLMonitor,
UniSQLMonitor, SQLServerUniProvider, MySQLUniProvider,
InterBaseUniProvider, TTUANSI;
type
TdmGeral = class(TDataModule)
Db: TUniConnection;
UniSQLMonitor1: TUniSQLMonitor;
ODBCUniProvider1: TODBCUniProvider;
OracleUniProvider1: TOracleUniProvider;
PostgreSQLUniProvider1: TPostgreSQLUniProvider;
private
{ Private declarations }
public
{ Public declarations }
procedure DbConecta(pTipoBanco: TQualBanco; pServidor, pDatabase, pUsuario, pSenha: string);
procedure DbDesconecta;
end;
var
dmGeral: TdmGeral;
implementation
uses OFUFNGER;
{$R *.dfm}
{ TdmGeral }
procedure TdmGeral.DbConecta(pTipoBanco: TQualBanco; pServidor, pDatabase,
pUsuario, pSenha: string);
begin
DB.Connected := False;
if pTipoBanco = bdOracle then begin
Db.ProviderName := 'Oracle';
Db.Server := pServidor + ':1521:' + pDatabase;
end else begin
Db.ProviderName := 'PostgreSQL';
Db.Database := pDatabase;
Db.Server := pServidor;
end;
Db.Username := pUsuario;
Db.Password := pSenha;
Db.Connected := True;
end;
procedure TdmGeral.DbDesconecta;
begin
DB.Connected := False;
end;
end.
Code: Select all
object dmGeral: TdmGeral
OldCreateOrder = False
Left = 360
Top = 108
Height = 275
Width = 449
object Db: TUniConnection
ProviderName = 'Oracle'
SpecificOptions.Strings = (
'Oracle.Direct=True'
'PostgreSQL.Charset=latin1')
Options.DefaultSortType = stCaseInsensitive
LoginPrompt = False
Left = 32
Top = 20
end
object UniSQLMonitor1: TUniSQLMonitor
Left = 32
Top = 72
end
object ODBCUniProvider1: TODBCUniProvider
Left = 128
Top = 16
end
object OracleUniProvider1: TOracleUniProvider
Left = 232
Top = 16
end
object PostgreSQLUniProvider1: TPostgreSQLUniProvider
Left = 128
Top = 64
end
end
Re: Propriedade EncryptedPassword não existe
Posted: Mon 14 Oct 2013 14:36
by AlexP
Hello,
Thank you, I have received your module, but the problem still can not be reproduced.
Please specify whether the problem occurs when opening the module in the IDE or directly on application launch?