Procedure to Add App Pool Identity to SQL Server db_owner Role

When you host a WCF service in IIS and if the service access SQL Server database, then you need to add the Application pool identity used by the WCF Service in to the db_owner of the Database. If you dont add the app pool identity then the service will not return any records from the database.

To add the app pool identity to db_owner role follow the steps as shown below. The following screen shots are for SQL Server 2008 and the WCF service uses ASP.NET v4.0 application pool.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: