Ask your technical questions on forums or here :
ASP.NET or MVC | C# | Windows Phone
Microsoft Technology Journals by Abhimanyu K Vatsa
HOME ABOUT RAZOR BOOK SPEAKING MVC ASP.NET JQUERY VIDEOS EBOOK ARCHIVE

16 Jun 2012

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'.

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.

Comment using Google Services (2 comments):

  1. Hi. Thank you very much for this solution. :)

    ReplyDelete
  2. i am getting the same problem.but not able to solve it after doing this

    ReplyDelete