Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Cannot open SQL default database

Author  Topic 

vrushali.katkade
Starting Member

2 Posts

Posted - 2011-07-30 : 07:35:20
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....

v.n.katkade

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2011-07-30 : 08:59:48
Investigate why that database is not available and fix it/

--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -