Cannot open database "xxxDB" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.

Connection stringinizde kullandığınız user id niz eğer sql server da kullanıcı olarak tanımlı değilse bu hatayı alırsınız.

Örnek olarak :

sa  kullanıcı adımız sql server da da tanımlı olması gerekmektedir :




yada linki inceleyebilirsiniz  :
http://forums.asp.net/t/1558691.aspx/1

Yorumlar

Bu blogdaki popüler yayınlar

Introducing FOREIGN KEY constraint 'xxx' on table 'xxx may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. Could not create constraint. See previous errors.

An error occurred while updating the entries. See the inner exception for details.

Unable to load the specified metadata resource.