Subject Re: Embedded FB1.5 Doesn't Like "localhost".
Author barfingdog_2004
--- In firebird-support@yahoogroups.com, "George P Boutwell"
<gboutwel@v...> wrote:
> > -----Original Message-----
> > That's what gave me this error:
> >
> > ----------
> >
> > *** IBPP::Exception inside Database::Connect ***
> >
> > IBPP Message : isc_attach_database failed
> >
> > SQL Message : -904
> > Unsuccessful execution caused by an unavailable resource..
> >
> > Engine Code : 335544375
> > Engine Message :
> > unavailable database
> >
> > ----------
>
> I can think of 2 things that might be it:
>
> 1) Make sure your using the beta version of IBPP (I think it's 2.2.3 but
> I'm not real sure on that), there where fixes in it specific to using
> fbembed (I know I had problem until I used that version).
>
> 2) It would seem your DB is marked unavailable/off-line? Use gfix on a
> full server to mark it on-line/available again?
>
> George

Thanks George:

I'm using the followiong ibpp download:
ibpp-2-2-2-3-src.zip

The file wass downloaded and installed on March 19.

I tried erasing the ".FDB" database file, it only
had a few test entries and my code creates it if it
doesn't exist. But the program still failed, same
problem.

----------

populate_players_list()

*** IBPP::Exception inside Database::Create ***

IBPP Message : isc_dsql_execute_immediate failed

SQL Message : -904
Unsuccessful execution caused by an unavailable resource..

Engine Code : 335544375
Engine Message :
unavailable database

----------

What can I be doing wrong?

The release notes say, "You should also copy
firebird.msg and firebird.conf (if necessary) to the same
directory".

I've copied them from the embedded firebird's expand
directory. Looking at firebird.msg reveales that all the
lines are commented out. Is this OK?

I appreciate your taking the time to give me advice.

Thanks
Larry