The necessary steps from the post are below for reference.
In SQL Server Management Studio ...
- connect to your SQL Server and navigate to Security - Logins in Object Explorer.
- Add a new login:
- Create a Windows login with the name of your application pool. Use the virtual domain name "IIS AppPool", like: "IIS AppPool\{YourApplicationPoolName}"
(Dont' forget to use the real application pool name after the backslash, e.g.: "IIS AppPool\DefaultAppPool") - Assign the new login to your database(s) in the User Mapping page of the New Login dialog.
Give it any user name you find appropriate. - Save and close the New Login dialog.
- In Object Explorer ...
- Navigate to your database, then navigate to Security - Users
- Navigate to your new user and set permissions according to your needs.