Subject | Re: [firebird-support] Connection rejected using Embedded Server |
---|---|
Author | Martijn Tonies |
Post date | 2004-08-10T18:39:54Z |
Hi Gabe,
it's not a full server that you can connect to via a network protocol.
It's more of an "embedded engine" - that is, a dll that can access
Firebird datafile as if you were connecting to a Firebird server.
More below...
the file directly - only 1 connection at a time. Remove the
IP address and you can use the file.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I'm attempting to write an application which takes advantage of theWell, perhaps the name "embedded server" is a bit wrong --
> FireBird 1.5.1 Embedded server...
it's not a full server that you can connect to via a network protocol.
It's more of an "embedded engine" - that is, a dll that can access
Firebird datafile as if you were connecting to a Firebird server.
More below...
> I'm using Delphi 7 Architect and IBX 7.0.4.453 to access the database.Instead of doing a connection to 127.0.0.1, you can access
>
> I have the following directory structure set up:
>
> c:\program files\AppName
> c:\program files\AppName\AppName.exe
> c:\program files\AppName\AppName.gdb
> c:\program files\AppName\firebird.conf
> c:\program files\AppName\firebird.msg
> c:\program files\AppName\gds32.dll (the renamed fbembed.dll)
> c:\program files\AppName\ib_util.dll
> c:\program files\AppName\intl\fbintl.dll
> c:\program files\AppName\udf\fbudf.dll
>
> In my application, I have a TIBDatabase with a DatabaseName property
> of 127.0.0.1:c:\program files\AppName\AppName.gdb. If I connect to
> the database with the Firebird Server running, it works just fine. If
> I attempt to connect with the server off, ostensibly running the
> Embedded server, I get an EIBInterbaseError saying:
> "Unable to complete network request to host "127.0.0.1".
> Failed to establigh a connection.
> No connection could be made because the target machine actively
> refused it.
> ."
>
> Have I messed something up in the configuration, or is there an
> underlying error? Anyone know where this error might be coming from?
the file directly - only 1 connection at a time. Remove the
IP address and you can use the file.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com