views:

122

answers:

0

I am running a .NET 4.0 WCF service that attempts to access a SQL Server 2008 R2 database.

System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\ASP.NET v4.0'.

In previous versions of SQL Server, I would make the [computerName]\IUSR_[computerName] and [computerName]\IWAN_[computerName] the db_Owner.

I tried to add a login for 'IIS APPPOOL\ASP.NET v4.0' through Management Studio but it would not let me.

Any recommendations? Thoughts?