Reputation: 11
I am working on ListView, displaying data from database, when i run my application i am getting this problem "Login failed for user 'IIS APPPOOL\DefaultAppPool' ", not getting the exact problem.
Upvotes: 1
Views: 167
Reputation: 630587
This means that the account your application pool is running under in IIS does not have any permissions on the SQL Sever.
See here for how to change that account, you need to either set a different account, give the account that it's running under permissions in SQL server, or both.
Upvotes: 1