Quantcast
Channel: SQL Server Data Access forum
Viewing all articles
Browse latest Browse all 4164

Error- Cannot open database "MyDatabaseName" requested by the login. The login failed. Login failed for user 'MYDOMAIN\USERNAME'

$
0
0

Hi,

I am getting below error in my services logs

An exception of type 'System.Data.SqlClient.SqlException' was thrown. Cannot open database"MyDatabaseName" requested by the login. The login failed. Login failed for user 'MYDOMAIN\USERNAME'

In my IIS app pool we have set identity set to MYDOMAIN\USERNAME'. to access the the database. 

Please let me know what might be the issue.

Thanks,

Venkatesh


Viewing all articles
Browse latest Browse all 4164

Trending Articles



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