Subject | Client in FireBird |
---|---|
Author | Gustavo |
Post date | 2005-06-20T23:32:01Z |
Hello:
I'm developping my first application in FireBird and I'm trying to make it work in a multiuser enviroment. I have 2 PCs in a LAN. In PC1 I have Windows XP and FireBird server installed. I really don't know if it is Super Server or Classic Server because I installed it several months ago running "Firebird-1.5.1.4481-Win32.exe" and I don't remember which one I choose. (¿How can I know this? ¿Which is the diference?)
I developped my application in PC1 and it works fine. Now I want to use PC2, which has Windows 98, as a client. I copied my applicaction in a folder and in the same folder I copied fbclient.dll. When my application starts and tries to connect to the database it fails. I'm using IBX component TIBDataBase with property DataBaseName set to PC1:DataBaseAlias1. In PC1, in the file firebird.conf, there is a line DataBaseAlias1 = C:\MyFolder\MyDataBase.fdb.
I opened telnet in PC2 and connected with PC1, port 3050, and it works.
When I run the application in PC1 it works but when I run the application in PC2 I get the following error message:
Unable to complete network request to host "PC1".
Failed to locate host machine.
Undefined service gds_db/tcp
I never installed FireBird in PC2. I only copied my application and fbclient.dll in the same folder because I supposed this was the only thing I had to do. Evidently I'm wrong.
¿Do I have to run Firebird-1.5.1.4481-Win32.exe in PC2 and choose "Minimum client install - no server, no tools"? ¿Do I have to do another thing?
Thanks in advance
Gustavo
[Non-text portions of this message have been removed]
I'm developping my first application in FireBird and I'm trying to make it work in a multiuser enviroment. I have 2 PCs in a LAN. In PC1 I have Windows XP and FireBird server installed. I really don't know if it is Super Server or Classic Server because I installed it several months ago running "Firebird-1.5.1.4481-Win32.exe" and I don't remember which one I choose. (¿How can I know this? ¿Which is the diference?)
I developped my application in PC1 and it works fine. Now I want to use PC2, which has Windows 98, as a client. I copied my applicaction in a folder and in the same folder I copied fbclient.dll. When my application starts and tries to connect to the database it fails. I'm using IBX component TIBDataBase with property DataBaseName set to PC1:DataBaseAlias1. In PC1, in the file firebird.conf, there is a line DataBaseAlias1 = C:\MyFolder\MyDataBase.fdb.
I opened telnet in PC2 and connected with PC1, port 3050, and it works.
When I run the application in PC1 it works but when I run the application in PC2 I get the following error message:
Unable to complete network request to host "PC1".
Failed to locate host machine.
Undefined service gds_db/tcp
I never installed FireBird in PC2. I only copied my application and fbclient.dll in the same folder because I supposed this was the only thing I had to do. Evidently I'm wrong.
¿Do I have to run Firebird-1.5.1.4481-Win32.exe in PC2 and choose "Minimum client install - no server, no tools"? ¿Do I have to do another thing?
Thanks in advance
Gustavo
[Non-text portions of this message have been removed]