how to access a sql server 2005 which as by default windows authentication

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sraghu
    New Member
    • Jun 2007
    • 5

    how to access a sql server 2005 which as by default windows authentication

    I have installed a sql server 2005 , by default it uses a windows authentication.
    Now the problem is while establishing connection from my application written in c# in dotnet. It shows error exactly on line where ,I open the connection.
    How solve this problem. Plz help me
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    You have posted in the Member Introductions forum. I have moved your post to what I hope is a relevant forum.
    Please see your other post here for hints from another moderator.

    Comment

    • sraghu
      New Member
      • Jun 2007
      • 5

      #3
      when can i expect a solution for my problem.

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by sraghu
        when can i expect a solution for my problem.
        The time it takes will certainly be shorter now that it is in a more appropriate forum. But wheter this is the best forum for you issue, I don't know.

        Comment

        • kemot1000
          New Member
          • Jun 2007
          • 4

          #5
          what is the connection code you use??
          [PHP]
          Dim connectionStrin g As String = "server='YO UR SERVER'; trusted_connect ion=true; Database='YOUR DATABASE'"
          Dim sqlConnection As System.Data.Sql Client.SqlConne ction = New System.Data.Sql Client.SqlConne ction(connectio nString)[/PHP]

          I use this code to connect to SQL Server 2005

          Comment

          Working...