first you need to make sure in which application pool your app in running, to do that select your app and do a right click to find the advanced settings options.

you will find the application pool that you app is using there (for my case, it is DefaultAppPool)

close that option window and then find your application pool in the "Application Pools" option and select Advanced settings.

in there, find the Identity option and select "LocalSystem"