Subject Re: [IBO] Instant setback
Author Helen Borrie
At 10:46 AM 04-01-02 +0200, you wrote:
>W98, FB RC1, IBO 4.2 Fb
>I compile and run Tutorial1 (dated Feb 2000). After the following message:
>arithmetic exception, numeric overflow or string truncation
>it runs.
>I then change the path parameter (hard-wired within the source) to point to
>c:\Program Files\Firebrird\examples\employee.gdb. Now our old enemy appears:
>Your user name and password are not defined etc.
>I try another file on the disk which is working perfectly with my
>application. Same result.
>I move this file (jdc.gdb) into the working folder, and substitute jdc.gdb
>for tutorial.gdb in the code. Same result.
>I reach the clearly ridiculous conclusion that IBO can only access files it
>has created itself. Where did I go wrong?

You overlooked the changes to login security in TIB_Connection and the database components. Please read about the PasswordStorage property (in the Component Help or search for it in the online FAQ). To simulate the old default behaviour when username and password are supplied by the application, change the setting to psNotSecure.



All for Open and Open for All
Firebird Open SQL Database ยท