Click here to Skip to main content
15,913,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created windows service & my service is dependent on the SQL server service. first SQL started then my service started when starting of PC or restarting PC.

this thing works fine but the issue is database file can not read by the windows service the exception thrown "Cannot open user default database. Login failed.Login failed for user 'NT AUTHORITY\SYSTEM'. "
when i have read the database.

any solution

thanks in advance....
Posted
Updated 30-Jul-11 1:45am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900