Monday, March 19, 2012

Cannot open database "XYZ" requested by the login.The login failed for user [domainname]-[

Hi all,

Iam getting this error

System.Data.SqlClient.SqlException: Cannot open database "XYZ" requested by the login. The login failed.
Login failed for user 'xyz-abc\ASPNET'.

when trying to open the page...

http://localhost:1807/projectname/WebFormName.aspx

as

http://localhost/projectname/WebFormName.aspx

Couldnt figure out the solution.Please help

Soujanya

open your database and grant access to xyz-abc\ASPNETon you database.

see the following threadhttp://forums.asp.net/p/938614/1152263.aspx

|||

Thanks Kamel,

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=395

This article helped me out.

No comments:

Post a Comment