Login Failed for user sa

Last post 07-21-2009 3:52 AM by shijo.suma. 2 replies.

Sort Posts:

  • Login Failed for user sa

    02-09-2004, 1:41 PM
    • Member
      15 point Member
    • lilking
    • Member since 02-09-2004, 12:50 PM
    • Posts 3
    I've checked the posts and I think i'm missing something very small. Trying to connect to the database with a username/password. I'm running the MSDE version of SQl on W2k3.

    Error is Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.

    I thought I would just use the sa account with the password I set during the database create. Not working. when I try to use dbconn.udl as someone requested in an earlier post, I can connect using Windows NT Integrated Security. But not with username.

    Can I change my database connect string to use integrated, or do I need to create and associate a username/password with the databsae I created. If so how?

    Thanks for the help.

    -Gary
  • Re: Login Failed for user sa

    02-09-2004, 4:25 PM
    • Member
      15 point Member
    • lilking
    • Member since 02-09-2004, 12:50 PM
    • Posts 3
    I did some more checking and saw on http://www.connectionstrings.com how to set the connection string correctly.

    But now i'm getting the error: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    I tried setting the permissions on the c:\windows\temp directory as listed in another post and that didn't help.

    Any help is appreciated.

    -Gary
  • Re: Login Failed for user sa

    07-21-2009, 3:52 AM
    • Member
      14 point Member
    • shijo.suma
    • Member since 07-21-2009, 2:52 AM
    • Posts 21
Page 1 of 1 (3 items)