Results 1 to 7 of 7

Thread: Connection probs with SQL bloody server

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Connection probs with SQL bloody server

    I am developing a web page in asp.net

    I have a webform which uses a connection to an sql server 2000 database residing on the local machine.

    Whenever I try to connect to the database I get the error message :

    Login failed for user 'DELL\ASPNET'.

    I can view the database in Server Explorer and have succesfully tested the connection.

    Does anyone have any ideas?
    I know nothing about sql server, in access it was always easy.

    Parksie

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    37
    Hi

    Did you set up a Login user in SQL Server 2000 for DELL\ASPNET and give it database access permissions?

    Harold Hoffman

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    I know this sounds nuts but.......How do I do that?

    Parksie

  4. #4
    Member
    Join Date
    Sep 2002
    Posts
    37
    Hi

    Right click Logins under Security in SQL Server Manager.

    Click New Login.

    Used the ellipsis button to find your Login DELL\ASPNET.

    On Database Access Tab give perissions to the database and select the roles (read / write) in the bottom half of the screen.

    Hope this helps.

    Harold Hoffman

  5. #5

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    I did what you said but I now get the following:

    SELECT permission denied on object 'tblCustomers', database 'dbCustomers', owner 'dbo'

    Parksie

  6. #6
    Member
    Join Date
    Sep 2002
    Posts
    37
    Try also adding public Permission in addition to read/ write database roles.

    Harold Hoffman

  7. #7
    Lively Member
    Join Date
    Aug 2002
    Location
    outerspace
    Posts
    126

    Smile

    so is this sql bloody server the next version of sql server
    "All those who wonder are not lost" -j.r.r tolkien

Posting Permissions

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



Click Here to Expand Forum to Full Width