Tuesday 7 July 2015

Cannot open database"abc.com" requested by the login. The login failed.Login failed for user

Application event log error that states as the title Cannot open database "Abc.com" requested by the login. The login failed for user "domain\user"


The error message "Cannot open database "abc.com" requested by the login. The login failed. Login failed for user 'USER LOGON'" means the user 'USER LOGON' does not have permissions to access the "abc.com" database.
To fix this issue, please verify that the user has a valid database user login. For more details, please refer to the following steps.
In SQL Server Management Studio, open Object Explorer and expand the Databases folder.
Expand the database in which to create the new database user.
Right-click the Security folder, point to New, and then click User.
On the General page, enter a name for the new user in the User name box.
In the Login name box, enter the name of a SQL Server login to map to the database user.
Click OK.

No comments:

Post a Comment