Subject | Re: [firebird-support] Embedded Server Connection String ? |
---|---|
Author | Eddie Bush |
Post date | 2004-03-15T09:33:32Z |
The embedded server does not actually run as a service. If your database lives with your application (like mine does) then you need to remove the server name from your "connection string" (TIBDatabase.DatabaseName for IBX). I just tested using an alias and this worked fine for me. Personally, I just build the path for my DB at run-time so that it is independent of all preconditions.
You can use the embedded server to connect to a database that lives on another machine, but that machine must be running a "real" server (Classic or Super Server).
HTH,
Eddie Bush
You can use the embedded server to connect to a database that lives on another machine, but that machine must be running a "real" server (Classic or Super Server).
HTH,
Eddie Bush
----- Original Message -----
From: Tanz Anthrox
To: firebird-support@yahoogroups.com
Sent: Monday, March 15, 2004 3:16 AM
Subject: [firebird-support] Embedded Server Connection String ?
Hi!!
I try to use embedded server for my old program.
The connection string was "PC001:MBS" or "localhost:MBS"
As you understand local computer name is PC001 and MBS is an alias name which is defined in "Aliases.conf" file.
I extracted all files in embedded.4290.zip in a directory of my program.
MBS = c:\mbs.fdb is added to aliases.conf
fbembed.dll is renamed as fbclient.dll and copied as gds32.dll also.
When I try to run the software gives "Unable to connect :"PC003", machine actively refuse it" error.
(delphi,ibx,fb)
What must I do?
Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.620 / Virus Database: 399 - Release Date: 3/12/2004
[Non-text portions of this message have been removed]