Subject RE: [firebird-support] Re: Client in FireBird
Author David Johnson
On Mon, 2005-06-20 at 23:27 -0300, Gustavo wrote:
> Adam:
>
> Thank you very much for your answer.
>
> I renamed fbclient.dll to gds32.dll and now the application starts OK in PC2 and connects OK to database in PC1:DataBaseAlias1.
>
> Now I have another problem. When it starts, the application creates a local temporary database in Windows Temp directory. This is done with an IBX TIBDataBase component with C:\Windows\Temp\TempDataBase0.FDB in its DataBaseName property and using the method CreateDataBase. In PC1 (the server) this works fine (obviously using the right Windows Temp directory) but in PC2 (the client with Windows 98), the CreateDataBase fails and gets the message "unavailable database".
>
> Do you (or someone else) know what's the reason and how can I solve it?

Reason: The database engine does not reside on PC2. Any RDBMS database
engine is a stand-alone application that your application communicates
with, using simple commands (SQL at the conceptual level).

How to solve it:
(a) refactor so you don't need a temporary database
(b) refactor so the temporary database resides on the server (PC1)
(c) install the DBMS on PC2.