I have a site that is hosted off of a file share. It has a dedicated account set up for the share. The application pool is configured to use a different, dedicated managed service account. The managed service account has rights to the database to which the application connects, the share account does not. The connection string(s) for the database are set to use trusted/integrated security.
Upon application start up, the w3wp process is correctly running as the managed service account. When the app connects to the DB, it fails to log in and the SQL logs indicate that it's trying to connect as the share account rather than the app pool account.
I have tried a number of different configurations particularly focusing on the anon authentication options. I've removed and recreated both the site and the application pools. All result in the same behavior.
Any advice would be greatly appreciated.