Subject Re: Connecting from a Windows service
Author gerrwes
--- In IBObjects@yahoogroups.com, "jack_engleman" <jengleman@...>
wrote:
>
> --- In IBObjects@yahoogroups.com, "gerrwes" <gerrwes@> wrote:
> >
> > --- In IBObjects@yahoogroups.com, "Daniel Albuschat"
> > <d.albuschat@> wrote:
> > >
> > > additionally, make sure that your server starts *after* the fb
> > > service! (also this won't work if fb is started as an
application
> > > rather than a service)
> > >
> > > Daniel
> > >
> > > 2006/10/23, Thomas Steinmaurer <ts@>:
> > > > > Has anyone had any problems to connect from a Windows
service to
> > > > > Firebird? I get an ISC ERROR CODE:335544375 'unavailable
> > database'.
> > > > >
> > > > > When I connect with my other apps it works fine. Even if I
run
> > the
> > > > > service exe by itself it connects, only as a service does
it
> > fail!
> > > > >
> > > > > Please help!
> > > >
> > > > Make sure that you are using a TCP/IP connection string.
> > > >
> > > >
> > > > --
> > > > Best Regards,
> > > > Thomas Steinmaurer
> > > > LogManager Series - Logging/Auditing Suites supporting
> > > > InterBase, Firebird, Advantage Database, MS SQL Server and
> > > > NexusDB V2
> > > > Upscene Productions
> > > > http://www.upscene.com
> > > >
> > > >
> > > >
> >
______________________________________________________________________
> > _____
> > > > IB Objects - direct, complete, custom connectivity to
Firebird or
> > InterBase
> > > > without the need for BDE, ODBC or any other
layer.
> > > >
> >
______________________________________________________________________
> > _____
> > > > http://www.ibobjects.com - your IBO community resource for
Tech
> > Info papers,
> > > > keyword-searchable FAQ, community code contributions and
more !
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > eat(this); // delicious suicide
> > >
> >
> > I've set "Allow service to interact with desktop" and this seemed
to
> > have solved my problem!?
> >
> > Thank for the suggestions.
> >
>
> Where is this setting 'Allow service to interact with desktop' in
> windows. I may be having a similar problem.
>
> Thanks in Advance.
>
> Jack Engleman
>

Hi Jack,

There are two places to set it. One is Delphi's TService.Interactive,
but I've tried this and did not work. The second way (and the one
that worked for me) is in the Windows Service Control Manager. On XP
you'll find it on the Logon tab of your service.

Cheers,
Gerhard