Subject | Firebird embedded with IBObjects Unavaiable database |
---|---|
Author | Jack Mills |
Post date | 2011-12-06T15:36:11Z |
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?
Jack
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?
Jack