Cannot open database requested in login ''. Login fails. Login failed for user ''.

N

Nevena

This is my connections string"
String = "Initial Catalog=" & _
"DBName;Data Source=ServerIPAdd;User " & _
"ID=uid;password=somepassword"

I'm using System.Data.SqlClient.SQLConnection to establish connection
to the SQl server, and this is an error message that i'm getting:

Cannot open database requested in login 'DBName'. Login fails. Login
failed for user 'uid'.

I have tried ( it seems ) everthing, begining with the connection
string itself and then ASPNET user settings on the web server.
I don't want to use integrated security.

Please HELP!!!
Does anyone have any idea?

We are using Windows Server 2003 and SQL Server 7.

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top