locked
Login failed for user 'NT AUTHORITY\SYSTEM' in SQL EXPRESS 2005 RRS feed

  • Question

  • I have developed the windows service & in windows service used the SQL server database .
    when i will start the computer my windows service get started but it will not connect to the SQL server .it display the following message

    "Cannot open user default database. Login failed.Login failed for user 'NT AUTHORITY\SYSTEM'."

    I want to start my service when my computer starting.

    how to establish the connection to SQL server database from windows service when starting the computer ?
    Monday, October 3, 2011 7:30 AM

Answers