Subject Re: Unable to connect to database
Author Adam
> I have written a windows service that makes use of a Firebird
> database. When I start the service with Windows local system
> account, everything works ok, I can connect to the database and
> access it.
> I need to start my service, however, with a specific username and
> password (because the local system account is not allowed to access
> network printers .... a windows limitation).
>
> When I log on to windows with that username/password, I can access
> the database with no problems, using IBExpert for example,but when I
> start my service with the specific username / password, I cannot
> connect to the database.
>
> Prefixing the database path with my computer name followed by a
> colon solves the problem, but for reasons too lengthy to go into
> here, I am not allowed to do that.
>
> Any suggestions?

This will occur in one of two occasions:

* Classic Server

There is no local connection support. Use TCP loopback to localhost to
resolve.

* Terminal Services and Superserver or Embedded

Local connection does not work when terminal services get involved.
Use TCP loopback to localhost to resolve.

One final thought, have you ticked the box to allow your service to
interact with the desktop?


Adam