Board index » delphi » Too many passwords (BDE Error #9490)

Too many passwords (BDE Error #9490)

Hi.

Recently, I receive this error: I use Delphi 5 / BDE 5.11 / Paradox tables.
When the application is running and many tables are opened, I must change
some paths of many Paradox alias: so, I close all tables, I deactive the
Session variable, I remove all passwords (Session.RemoveAllPasswords), I add
the password (Session.AddPassword('xxx')) that is unique for all Paradox
tables, and then I change the paths and reopen all tables.
But this operation sometimes return the error in subject.

What can I do? I cannot repeat the error in debug, because is not
deterministic ...

Thanks
Lucio Dall'Acqua

 

Re:Too many passwords (BDE Error #9490)


Lucio,

I had this same problem about a month ago.  I found through debug that my
application was executing the (session.Addpassword('xxx')) line over and
over as the program ran.  To determine if you are having the same problem,
put a breakpoint on addpassword line and run the program in the de{*word*81} and
see how many times it executes the password line. I noticed it takes a lot
of times (several 100) of executing addpassword before the error occurs.

Dave

Quote
"Lucio Dall'Acqua" <ldallac...@mail.graphite.it> wrote in message

news:3c0678ce$1_2@dnews...
Quote
> Hi.

> Recently, I receive this error: I use Delphi 5 / BDE 5.11 / Paradox
tables.
> When the application is running and many tables are opened, I must change
> some paths of many Paradox alias: so, I close all tables, I deactive the
> Session variable, I remove all passwords (Session.RemoveAllPasswords), I
add
> the password (Session.AddPassword('xxx')) that is unique for all Paradox
> tables, and then I change the paths and reopen all tables.
> But this operation sometimes return the error in subject.

> What can I do? I cannot repeat the error in debug, because is not
> deterministic ...

> Thanks
> Lucio Dall'Acqua

Other Threads