Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. connect sql 2005 using standard security

connect sql 2005 using standard security

Scheduled Pinned Locked Moved Visual Basic
databasesecuritytutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amilapradeep
    wrote on last edited by
    #1

    how to use standard security connection string to connect sql 2005.

    S 1 Reply Last reply
    0
    • A amilapradeep

      how to use standard security connection string to connect sql 2005.

      S Offline
      S Offline
      Steve Pullan
      wrote on last edited by
      #2

      Do you mean SQL Server authentication or Windows authentication? Be more specific in your request and provide a bit more information so we can help you. ...Steve 1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-)

      A 2 Replies Last reply
      0
      • S Steve Pullan

        Do you mean SQL Server authentication or Windows authentication? Be more specific in your request and provide a bit more information so we can help you. ...Steve 1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-)

        A Offline
        A Offline
        amilapradeep
        wrote on last edited by
        #3

        i want to use sql authentication.i created a new user account with sql mangement studio.but i can't connect using it with sql authentication. i use same username and password on my coding. getConnectionString_local = "Server=Z1\SQLEXPRESS;Database=" & DBPath & "test;User ID=amilapradeep;Password=amilapradeep;Trusted_Connection=False" it's this then it gives error as "Login failed for user 'amilapradeep'. The user is not associated with a trusted SQL Server connection." but i can connect using "attach db" method it's connecting

        1 Reply Last reply
        0
        • S Steve Pullan

          Do you mean SQL Server authentication or Windows authentication? Be more specific in your request and provide a bit more information so we can help you. ...Steve 1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-)

          A Offline
          A Offline
          amilapradeep
          wrote on last edited by
          #4

          ok i got the anwser.i had not specified as mix authentication on sql server, thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups