Solved

Sys.WebForms.PageRequestManagerServerErrorException: Cannot open database <databasename> requested by the login. The login failed. Login failed for user <username>.

Posted on 2009-04-03
1
1,150 Views
Last Modified: 2012-05-06
Hi,
I developed one application in asp.net, it has log in page, admin and user areas. When I tried to run this application in my system its working fine. but when I tried to run this application's login page it is giving this error- "Sys.WebForms.PageRequestManagerServerErrorException: Cannot open database <databasename> requested by the login. The login failed. Login failed for user <username>." i dont know where I am missing and what i am missing. help me..
thanks in advance
0
Comment
Question by:CPSRI
1 Comment
 
LVL 12

Accepted Solution

by:
udayakumarlm earned 500 total points
ID: 24065732
it is due to the permissions on the user <username>. check if the user has access rights on the db accessed.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Agent Timeout 5 48
Upgrading SQL 2005 Express to 2008 R2 Express 31 68
How to place a condition in a filter criteria in t-sql? 12 60
Restrict result set 1 34
This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now