Subject | Re: [firebird-support] Embedded FB1.5 Doesn't Like "localhost". |
---|---|
Author | Carlos H. Cantu |
Post date | 2004-04-16T17:25:36Z |
To connect to embedded server you cannot use localhost, you must use
local connection.
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
b> Hi Folks:
b> This application is being developed on Win2K.
b> I'm building my first Firebird application. It's
b> running fine in a client-server relationship and I can
b> insert and select data from myfirst table. Now I want
b> to make it an embedded app.
b> I've downloaded the embedded version of Firebird
b> and replaced the client-server DLL with the embedded
b> DLL, and I've renamed the embedded DLL fbclient.dll.
b> The download I'm using is:
b> Firebird-1.5.0.4290_embed_win32.zip
b> I've added firebird.msg and firebird.conf to the
b> same directory. I don't know what those two file are
b> for, but I copied them from the embedded's expanded
b> files.
b> The instructions said that's all I needed to do.
b> I try to run my app, when it connects to the
b> database I get:
b> ---------------
b> *** IBPP::Exception inside Database::Connect ***
b> IBPP Message : isc_attach_database failed
b> SQL Message : -902
b> Unsuccessful execution caused by a system error that precludes
b> successful execution of subsequent statements.
b> Engine Code : 335544721
b> Engine Message :
b> Unable to complete network request to host "localhost".
b> Failed to establish a connection.
b> No connection could be made because the target machine actively
b> refused it.
b> ----------------
b> Suggestions?
b> Thanks
b> Larry
b> Yahoo! Groups Links
local connection.
Carlos
http://www.warmboot.com.br
FireBase - http://www.FireBase.com.br
b> Hi Folks:
b> This application is being developed on Win2K.
b> I'm building my first Firebird application. It's
b> running fine in a client-server relationship and I can
b> insert and select data from myfirst table. Now I want
b> to make it an embedded app.
b> I've downloaded the embedded version of Firebird
b> and replaced the client-server DLL with the embedded
b> DLL, and I've renamed the embedded DLL fbclient.dll.
b> The download I'm using is:
b> Firebird-1.5.0.4290_embed_win32.zip
b> I've added firebird.msg and firebird.conf to the
b> same directory. I don't know what those two file are
b> for, but I copied them from the embedded's expanded
b> files.
b> The instructions said that's all I needed to do.
b> I try to run my app, when it connects to the
b> database I get:
b> ---------------
b> *** IBPP::Exception inside Database::Connect ***
b> IBPP Message : isc_attach_database failed
b> SQL Message : -902
b> Unsuccessful execution caused by a system error that precludes
b> successful execution of subsequent statements.
b> Engine Code : 335544721
b> Engine Message :
b> Unable to complete network request to host "localhost".
b> Failed to establish a connection.
b> No connection could be made because the target machine actively
b> refused it.
b> ----------------
b> Suggestions?
b> Thanks
b> Larry
b> Yahoo! Groups Links