Subject Re: [firebird-support] 'Unavailable database'
Author Timothy Madden
On Mon, Sep 1, 2008 at 11:39 AM, Helen Borrie <helebor@...> wrote:
>At 17:45 1/09/2008, you wrote:
>>Hello
>>
>>When I call *_isc_attach_database* from *fbembed.dll* 2.1.1 I get this
error
>>saying 'Unavailable database'.
>>
[...]
>>
>>Do you know what could be wrong and what could I do ?
>>
>>I use Delphi 10, FBLib 0.85 and embedded Firebird 2.1 on Windows.
>
>Embedded is a deployment model. Both the server and the client are running
in (the same) application space. When one application >has a database open
within this space, other applications are blocked from access to that
database.
>
>Don't use embedded as your backend when developing in Delphi. It won't
work: if the IDE is connected to the database through the >embedded client
then you won't be able to run your app - hence the 'unavailable database'
message. Use Classic or Superserver for >development. Pre-deployment, set up
a test installation on a stand-alone machine to check that you have done
everything the right >way.
>


The IDE is not connected. The database has just been created by a master
process, which has terminated, and now I need to open and query it. And I
can open it with *isql* with the IDE opened.

Thank you,
Timtohy Madden


[Non-text portions of this message have been removed]