Subject | Re: [firebird-support] Re: Backup in a client PC |
---|---|
Author | Gustavo |
Post date | 2008-03-12T19:53:20Z |
Adam:
I can´t find the way to work with this!
Now I have the following:
In the server PC (PC1):
C:\Program Files\Firebird\Firebird_2_0\... {FireBird superserver
installation)
C:\Program Files\MyApp\MyApp.exe (and other files not related with
FireBird)
C:\Program Files\MyApp\DataBases\PC1DB1.FDB
In the client PC (PC2):
C:\Program Files\Firebird\Firebird_2_0\... {FireBird client installation)
c:\PC2DataBases\PC2DB1.FDB
If I understand what you are saying, I have to put the following files in
the folder C:\Program Files\MyApp\ (the same where is MyApp.exe):
fbembedd.dll (renamed to gds32.dll)
icudt30.dll
icuin30.dll
icuuc30.dll
firebird.conf
firebird.msg
I did that (and I deleted the file gds32.dll from C:\Windows\System32 in
PC2) and then, from PC2 (the client), I can run MyApp.exe (installed in PC1,
the server) and I can access both PC1DB1 (which is in PC1) and PC2DB1 (which
is in PC2) but... if I do this, a user in PC1 can´t access at the same time
PC1DB1 because the embedded server has exclusive access.
What I need is the following:
1. With MyApp.exe, a user in PC1 (the server) can access PC1DB1 and at the
same time, another user in PC2 (a client) can also access PC1DB1 and at the
same time, another user in PC3 (a client) can also access PC1DB1 and so on.
2. With MyApp.exe, a user in PC2 (the client) can access PC1DB1 (which is in
the server) (at the same time the user in Pc1 and the user in PC3 are
accessing this database too), and at the same time the user in PC2 can acess
PC2DB1 (which for him is a local database). This access to PC2DB1 can be
exclusive.
I know is a bit confusing. I hope you can understand. Is it possible to do
what I need?
Regards
Gustavo
I can´t find the way to work with this!
Now I have the following:
In the server PC (PC1):
C:\Program Files\Firebird\Firebird_2_0\... {FireBird superserver
installation)
C:\Program Files\MyApp\MyApp.exe (and other files not related with
FireBird)
C:\Program Files\MyApp\DataBases\PC1DB1.FDB
In the client PC (PC2):
C:\Program Files\Firebird\Firebird_2_0\... {FireBird client installation)
c:\PC2DataBases\PC2DB1.FDB
If I understand what you are saying, I have to put the following files in
the folder C:\Program Files\MyApp\ (the same where is MyApp.exe):
fbembedd.dll (renamed to gds32.dll)
icudt30.dll
icuin30.dll
icuuc30.dll
firebird.conf
firebird.msg
I did that (and I deleted the file gds32.dll from C:\Windows\System32 in
PC2) and then, from PC2 (the client), I can run MyApp.exe (installed in PC1,
the server) and I can access both PC1DB1 (which is in PC1) and PC2DB1 (which
is in PC2) but... if I do this, a user in PC1 can´t access at the same time
PC1DB1 because the embedded server has exclusive access.
What I need is the following:
1. With MyApp.exe, a user in PC1 (the server) can access PC1DB1 and at the
same time, another user in PC2 (a client) can also access PC1DB1 and at the
same time, another user in PC3 (a client) can also access PC1DB1 and so on.
2. With MyApp.exe, a user in PC2 (the client) can access PC1DB1 (which is in
the server) (at the same time the user in Pc1 and the user in PC3 are
accessing this database too), and at the same time the user in PC2 can acess
PC2DB1 (which for him is a local database). This access to PC2DB1 can be
exclusive.
I know is a bit confusing. I hope you can understand. Is it possible to do
what I need?
Regards
Gustavo
----- Original Message -----
From: "Adam" <s3057043@...>
To: <firebird-support@yahoogroups.com>
Sent: Tuesday, March 11, 2008 11:18 PM
Subject: [firebird-support] Re: Backup in a client PC
--- In firebird-support@yahoogroups.com, "Gustavo" <gusm@...> wrote:
>
> Adam:
>
> Thank you for your idea. I tried to use it but I suppose I am doing
> something wrong because it doesn´t work. I read the file
> "README_embedded.txt" but I don´t understand where do I have to
place the
> files to use the embedded server.
>
All the paths are relative, so Firebird does not care where you put
them, as long as the executable is in the root of embedded directory
structure.
It is usually as simple as unzipping the embedded kit and copying your
executable in with all the embedded files. Since you use IBX, you will
need to rename fbembedded.dll to gds32.dll.
Adam
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links
__________ Información de NOD32, revisión 2938 (20080311) __________
Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com