Add IIS Application Pool Identity Account from SQL Management Studio then change permission. code example
Example 1: create password for user in postgres
ALTER USER davide WITH PASSWORD 'hu8jmn3';
Example 2: To change the database owner in SQL server
Use OnlineRestaurant
exec sp_changedbowner 'sa'