Consulting

Results 1 to 2 of 2

Thread: Solved: SQL Server 2005 Connection Problem

  1. #1
    VBAX Tutor Mavyak's Avatar
    Joined
    Jul 2008
    Posts
    204
    Location

    Solved: SQL Server 2005 Connection Problem

    We have 10+ servers at our data center all running SQL Server 2005. I can connect to all of them from MS SQL Server Management Studio. When I try to connect to 5 of the servers via ADO.NET (using C# and the SqlConnection object) if fails to connect and returns "Login failed for user 'mavyak'". I have the same credentials for all the servers. I am specifying the database on the server I am connecting to in the connection string so I'm not defaultly connecting to "master". I am also using the IP address in the connection string and not the server name.

    Why would I be able to connect to a server via Management Studio but not via ADO.NET using the exact same credentials?


  2. #2
    VBAX Tutor Mavyak's Avatar
    Joined
    Jul 2008
    Posts
    204
    Location
    A case sensitive password burned me. Thank you to all that looked at this and I'm sorry I wasted your time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •