Click here to Skip to main content
15,745,306 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using VS2008 with sql server express. I get this error

Cannot open database "Express" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\DefaultAppPool'.

why this error comes and how to remove it.

Well this is the problem when User IIS APPPOOL\DefaultAppPool cannot connect to the database.

Are you using IIS 7 to deploy. In previous version I dont think this user is required.
If so, your solution is here :[^]
Share this answer
Are you using windows authentication?
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900