System.Data.SqlClient.SqlException: Cannot open database "Northwind" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\DefaultAppPool'.
System.Data.SqlClient.SqlException: Cannot open
database "Northwind" requested by the login. The login failed. Login
failed for user 'IIS APPPOOL\DefaultAppPool'.
Click the image to enlarge.
In this quick post you will learn how to fix this
issue.
Today in the morning when I was executing one of my web
applications I fall in titled error and the same I’m sharing, that how I fixed
this.
Open the IIS Manager and look at the image given below
and follow the steps. Remember to select your web app from application pool list
and then click on ‘Advanced Settings’.
Click the image to enlarge.
Hi. Thank you very much for this solution. :)
ReplyDeletei am getting the same problem.but not able to solve it after doing this
ReplyDelete