Having error with data base connection

Posted by Ankit_parmar555 under Sql Server on 1/21/2012 | Points: 10 | Views : 886 | Status : [Member] | Replies : 2
Cannot open database "dbname" requested by the login. The login failed.
Login failed for user 'PC name'.


i'm getting above error when trying to connect with databse in my asp classic application using LINQ...
experts help plz.......




Responses

Posted by: PandianS on: 1/21/2012 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi

Kindly clarify the following area

1. What kind of authentication you using - Windows authentication (or) SQL Authentication ?
2. If its windows authentication --> That windows Login binded with that SQL Server instance ?
3. If its sql authentication --> Can you able to connect that sql server instance from some other machine/server ?


Cheers
www.SQLServerbuddy.blogspot.com
iLink Multitech Solutions

Ankit_parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankit_parmar555 on: 1/22/2012 [Member] Starter | Points: 25

Up
0
Down
i m simply using windows authentication



Ankit_parmar555, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response