Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
14
Answers
How can I solve the connection error in SQL ?
Joe Wilson
9y
806
1
Reply
I have created a database in SQL but when I want to access it by C# but the compiler can't access and open database.
the error is :
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll
Additional information: Cannot open database "Restaurant" requested by the login. The login failed.
Login failed for user 'Milad0007\Milad.H'
Please guide me to solve it.
Post
Reset
Cancel
Answers (
14
)
Next Recommended Forum
Sql
Sql server Backup