user279856
user279856

Reputation: 11

working with ListView server control in ASP.NET

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

Answers (1)

Nick Craver
Nick Craver

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

Related Questions