Subject Re: [firebird-support] Firebird database access from ISAPI dll application
Author Helen Borrie
At 06:25 PM 5/01/2004 -0300, you wrote:
>Hi,
>
>I am trying without success to connect to a database with the "local"
>protocol (in fact without protocol), in an ISAPI dll application without
>success.
>
>The error code I get is:
>
>unavailable database
>Unsuccessful execution caused by an unavailable resource.
>Error Code: 55
>
>What does it means?

If you are using the embedded client, then it means that an external client
already has the database file open. With embedded you must be able to
obtain exclusive access to the file in order to connect.


>If I append "localhost:" to the begining of the database connection string
>the application works properly but I want to use it with the firebird
>embedded (because I don't want to install firebird in that server), and it
>does not support tcp/ip connections.

This merely indicates that you have a full server running on the machine
and you are able to make a normal tcp/ip local loopback connection via the
"natural" fbclient.dll. No surprises there.

Shut down all other connections to the database before you try to connect
through fbembed.dll (which must be located in the application directory and
renamed to fbclient.dll).

/heLen