Login failed for user domain\servername

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Manikrag
    New Member
    • Jun 2009
    • 62

    Login failed for user domain\servername

    Hi Team,

    I am facing a strange issue, I have an application on a sever with SQL. I shifted it from one server to other. Configured all the connection strings. Now, when I am trying to access login page..it is showing below error


    Error authenticating user. Cannot open database "DBAPP" requested by the login. The login failed.Login failed for user Domain\Server$' .

    Strange thing is I am trying to connect with SQL authentication and not sure why this domian\server coming into picture.

    I tried to search a lot on internet but did not find something helpful.

    Please write if you have any idea about the issue
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Double check your connection strings to make sure that they are using the correct authentication type. Double check the SQL server to make sure that you've set up the users correctly as well.

    -Frinny

    Comment

    • Manikrag
      New Member
      • Jun 2009
      • 62

      #3
      thanks Frinavale..hope you are doing good.

      The user Domain\Server$ coming into error is not at all into picture. I checked the connection string and its correct.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        I've moved this question to the .NET forum because it's not specifically an ASP.NET question. Hopefully someone here will have a better idea of what might be wrong.

        -Frinny

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          Can you post your connection string (with the sensitive details removed, obviously)?

          Comment

          • Manikrag
            New Member
            • Jun 2009
            • 62

            #6
            thank you!!

            My connection string is as given below and working for other forms..but end of the day I would say tht instead of connecting from below string it is trying from domain\server user which I am not sure why is happening

            "data source=ServerNa me;Database=Dat abaseName;User ID=user;Passwor d=password;Mult ipleActiveResul tSets=True;";

            Comment

            Working...