Subject Re: [firebird-support] Can't open firebird database files from a windows service.
Author Mark Rotteveel
On 9-7-2014 20:57, vtreude@... [firebird-support] wrote:
> We're in the process of changing an application that accesses a Firebird
> database file from a regular application to a windows service. For
> legacy reasons this uses the Firebird embedded DLL (fbclient) for
> version 1.5.6. The code that attempts to connect to this file always
> succeeds as a user-type application but fails when run as a service. I
> don't think it should be a problem with file access permissions because
> this same service is able to read and write other kinds of files. Are
> there any special permissions or configuration issues I might be missing?

File access permissions depend on the location of the file. I also seem
to remember that Firebird 1.5 needs to 'interact with desktop' because
it uses some kind of hack for IPC, and this not enabled by default in
newer Windows versions, and can be enabled on the service itself
(Service properties, tab Log On).

Mark
--
Mark Rotteveel