Subject | Unable to connect to database |
---|---|
Author | colinriley666 |
Post date | 2006-03-27T15:38:12Z |
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?
regards, Colin
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?
regards, Colin