Propriedade EncryptedPassword não existe

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Danieln
Posts: 3
Joined: Thu 10 Oct 2013 14:56

Propriedade EncryptedPassword não existe

Post by Danieln » Thu 10 Oct 2013 14:58

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.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Propriedade EncryptedPassword não existe

Post by AlexP » Fri 11 Oct 2013 07:49

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).

Danieln
Posts: 3
Joined: Thu 10 Oct 2013 14:56

Re: Propriedade EncryptedPassword não existe

Post by Danieln » Fri 11 Oct 2013 12:02

As I mentioned in the previous post, already deleted the DCUs and ran the BUILD ALL.
The problem persists.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Propriedade EncryptedPassword não existe

Post by AlexP » Mon 14 Oct 2013 08:56

Hello,

Please send your module (*.Pas and *.dfm), working with which causes the error

Danieln
Posts: 3
Joined: Thu 10 Oct 2013 14:56

Re: Propriedade EncryptedPassword não existe

Post by Danieln » Mon 14 Oct 2013 11:57

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


AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Propriedade EncryptedPassword não existe

Post by AlexP » Mon 14 Oct 2013 14:36

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?

Post Reply