Subject | Re: [IBO] Firebird embedded with IBObjects Unavaiable database |
---|---|
Author | Jack Mills |
Post date | 2011-12-07T08:33:56Z |
Jason, Helen thank you for your replies.
I tired explicitly setting the protocol to local.
I wasn't trying to run from the IDE.
The problem was one of my own making. I had changed the IB_GDS string var in IB_Constant.pas to
c:\program files\firebird\firebird_1_5\bin\fbClient.dll'
I did this a couple of years ago when changing from gds32.dll
Sorry to waste your time, again thank you for responding
Jack
I tired explicitly setting the protocol to local.
I wasn't trying to run from the IDE.
The problem was one of my own making. I had changed the IB_GDS string var in IB_Constant.pas to
c:\program files\firebird\firebird_1_5\bin\fbClient.dll'
I did this a couple of years ago when changing from gds32.dll
Sorry to waste your time, again thank you for responding
Jack
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> At 04:36 AM 7/12/2011, Jack Mills wrote:
> >Hi
> >
> >Using Firebird 1.5, Windows XP, IBOjects 4.7, C++builder 6
> >
> >I have an application that runs when using the super server started as a service. I am now trying get it running under the embedded version.
> >
> >I used the latest version of the 1.5 embedded 1.5.6.5026, extracting from the zip so the folder & file layout is as recommended with the app in the same folder, c:\Magus_Embed\etc.
> >I renamed fbembed.dll to fbclient etc.
> >
> >I stopped the running super server & tried the embedded server.
> >When the app tries to connect I get error 335544375 database unavailable.
> >
> >The connection uses a IBODatabase component & the code is like this
> >IBODatabase1->Database = "C:\\Magus_Embed\\FBDB\\MagusSystems.fdb";
> >IBODatabase1->Username = "MAGUS";
> >IBODatabase1->Password = "magus";
> >
> >if (!IBODatabase1->Connected)
> > IBODatabase1->Connect();
> >
> >The only difference between the two servers is the IBODatabase1->Database "string"
> >
> >Can anyone suggest what's going wrong?
>
> Are you trying to run the embedded application from the IDE?
>
> Helen
>