14
Reply

How can I solve the connection error in SQL ?

Joe Wilson

Joe Wilson

Jun 29 2015 3:25 PM
784
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.

Answers (14)
Next Recommended Forum