|
-
Oct 31st, 2002, 09:28 AM
#1
Thread Starter
Fanatic Member
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.
-
Oct 31st, 2002, 10:09 AM
#2
Member
Hi
Did you set up a Login user in SQL Server 2000 for DELL\ASPNET and give it database access permissions?
Harold Hoffman
-
Oct 31st, 2002, 10:54 AM
#3
Thread Starter
Fanatic Member
I know this sounds nuts but.......How do I do that?
-
Oct 31st, 2002, 11:44 AM
#4
Member
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
-
Oct 31st, 2002, 11:54 AM
#5
Thread Starter
Fanatic Member
I did what you said but I now get the following:
SELECT permission denied on object 'tblCustomers', database 'dbCustomers', owner 'dbo'
-
Oct 31st, 2002, 12:06 PM
#6
Member
Try also adding public Permission in addition to read/ write database roles.
Harold Hoffman
-
Nov 5th, 2002, 11:08 AM
#7
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|