Subject | Re: [IBO] connection problem |
---|---|
Author | hypmarie23 |
Post date | 2006-06-01T13:32:27Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
moment.
>the
> At 10:14 PM 1/06/2006, you wrote:
> >I decided to distribute for testing a part of my application on
> >another PC and met the following problem :
> >The code to connect to the database that runs correctly on my
> >machine raises an error mentioning that it is impossible to open
> >file "" and that the specified access path cannot be found.the
> >
> >Here is the code :
> >FDBPath := ExtractFilePath(Application.ExeName)
> >+ 'Database\BDCOCAGNE_PLC.FDB';
> > With DM_Cocagne do
> > begin
> > with IB_Connection1 do
> > begin
> > Connected := False;
> > LoginPrompt := False;
> > Username := 'SYSDBA';
> > Password := 'masterkey';
> > Server := '';
> > Path := FDBPath;
> > Protocol := cpLocal;
> > Connected := true;
> > end;
> > with IB_Transaction1 do
> > begin
> > if InTransaction then Rollback;
> > AutoCommit := True;
> > IB_Connection := IB_Connection1;
> > Isolation := tiCommitted;
> > RecVersion := True;
> > end;
> > end;
> >
> >I decided to activate the login prompt instead. But I still have
> >same problem.great.
> >It seems as if the path is set to blank.
> >
> >Or may be it's another problem relating to the way the data
> >components have been compiled ?
> >
> >If anyone could bring me some light to my problem, it would be
> >Thanks in advanceYes it's a Firebird server. I intend to use it locally for the
>
> The first problem to address is: Do you have a Firebird server
> running on the other machine?
>
> Helen
>
moment.