Subject | Connection rejected using Embedded Server |
---|---|
Author | Gabriel Covert |
Post date | 2004-08-10T17:11:21Z |
I'm attempting to write an application which takes advantage of the
FireBird 1.5.1 Embedded server...
I'm using Delphi 7 Architect and IBX 7.0.4.453 to access the database.
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?
Gabe
FireBird 1.5.1 Embedded server...
I'm using Delphi 7 Architect and IBX 7.0.4.453 to access the database.
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?
Gabe