Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Cannot open database "dbLogin" requested by the login. The login failed.

$
0
0

Hi and good day.

I've got a program from this link: (codes also on this page)

http://www.aspsnippets.com/Articles/ASP.Net-Login-Control-in-AJAX-Control-Toolkit-Modal-Popup-Extender.aspx#

whenI execute compiler gives me the following error:

-----------------------------------------------------------------------------------------

An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Web.dll but was not handled in user code

Additional information: Cannot open database "dbLogin" requested by the login. The login failed.

Login failed for user 'UNIQUE-PC\shaparak'.

-----------------------------------------------------------------------------------------

I've already opened DB on my sql server 

in addition I changed asp default DB to current DB

my connection to DB works properly, when I put sqlconnection before also no use.

what is wrong?why can't open DB?

any help would be appreciated.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>