#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    7
    Rep Power
    0

    Newbie And Im Very Stuck!


    Hi ALL

    Im getting this login failed error and i cant seem to find a fix.

    Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'USER'

    Can some one tell me how i can fix this please?

    im trying to set up a datagrid in VS.NET TO SQL SERVER
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Posts
    64
    Rep Power
    12
    Is USER a name that has the right to access the database?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Inside of my skin. and the skin is living in Amsterdam
    Posts
    4
    Rep Power
    0
    I think the problem is indeed that you don't give the correct credentials for the database access. You should check the connection to the SQL server and use the wizard to build the connection string. (modify connection in the server explorer) if the test succeeds you should be able to access the database.

IMN logo majestic logo threadwatch logo seochat tools logo