System.Data.SqlClient.SqlException (0x80131904): Cannot open database login failed
database cannot connecting
plz help ....
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipankar BiswasPosted Aug 1, 2014, 5:02 AM
Abhishek JaiswalPosted Jul 15, 2014, 1:58 AM
try this
:)
Isham KhanPosted Jul 9, 2014, 2:36 PM
Isham KhanPosted Jul 9, 2014, 2:35 PM
Sanjay KumarPosted Jul 9, 2014, 12:41 AM
connectionString="Data Source=.;Initial Catalog=LMS;User ID=sa;Password=temperament"
otherwise, you need to specify the name of the instance of the server,
connectionString="Data Source=.\INSTANCENAME;Initial Catalog=LMS;User ID=sa;Password=temperament"
https://www.connectionstrings.com/sql-server-2012/
Abhay ShankerPosted Jul 8, 2014, 11:24 PM
Hemant SrivastavaPosted Jul 8, 2014, 3:25 PM
Looks like something typo error in your connection string
How are entering database connection string? Can you paste your code?