Subject | Re: Client in FireBird |
---|---|
Author | Adam |
Post date | 2005-06-21T02:45:43Z |
--- In firebird-support@yahoogroups.com, "Gustavo" <gusm@d...> wrote:
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".
Hello Gustavo,
What are you trying to achieve with this local temporary database? Is
it about reducing over the wire traffic when processing the data, or
is it a legacy decision on how it used to have to be done using
whatever engine you used to use?
Create Database is a command that must be issued to a computer
running a FB Server. I doubt this is an OS issue, but rather a
concept issue.
If you do actually need a local temporary database, then consider
using the embedded version of FB. Download it (then rename it to
gds32.dll in place of the one that you currently use, and then you
should be able to create the database). I would look up the $TEMP
environment variable rather than searching for windows\temp though,
because not all windows versions use c:\windows\temp by default (nt /
2k for a start)
Adam
> Adam:starts OK in PC2 and connects OK to database in PC1:DataBaseAlias1.
>
> Thank you very much for your answer.
>
> I renamed fbclient.dll to gds32.dll and now the application
>creates a local temporary database in Windows Temp directory. This is
> Now I have another problem. When it starts, the application
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".
>solve it?
> Do you (or someone else) know what's the reason and how can I
Hello Gustavo,
What are you trying to achieve with this local temporary database? Is
it about reducing over the wire traffic when processing the data, or
is it a legacy decision on how it used to have to be done using
whatever engine you used to use?
Create Database is a command that must be issued to a computer
running a FB Server. I doubt this is an OS issue, but rather a
concept issue.
If you do actually need a local temporary database, then consider
using the embedded version of FB. Download it (then rename it to
gds32.dll in place of the one that you currently use, and then you
should be able to create the database). I would look up the $TEMP
environment variable rather than searching for windows\temp though,
because not all windows versions use c:\windows\temp by default (nt /
2k for a start)
Adam