Subject Re: [firebird-support] No success with embedded firebird
Author Helen Borrie
At 09:27 PM 23/06/2004 +0000, you wrote:
>I would appreciate to know what it is that I am doing wrong. After
>having followed each and every single instruction as to the embedded
>installation of Firebird, I still can't get to connect to the
>database and get the files to be accessed. I keep getting this error
>message:
>
>---------------------------
>Program Name
>---------------------------
>Connection was not possible.
>Unable to complete network request to host "localhost".
>Failed to establish a connection.
>The host actively denied the connection
>
>---------------------------
>OK
>---------------------------
>
>The program tries to connect with string: localhost:database.fdb, and
>database.fdb resided in the same directory as the program (fbembed.dll
>renamed to gds32.dll and fbclient.dll).
>
>I've followed every single instruction concerning the deployment of an
>embedded application.

Except one: you can't connect to an embedded server using a network method
(in your case, TCP/IP local loopback): you MUST use local connect. Remove
localhost: from the connection string and it will work - as long as you are
not trying to access a database file that's located on a share or mapped
drive, of course...

/heLen