I have a site that is running under the root site's credentials instead of the one in its AppPool and cannot figure out why. This is not a problem on other servers.
- Windows Server 2003
- Site (test.domain.com) running in custom AppPool using a domain service account (domain\iis-user)
- Application running under a separate AppPool with different credentials (domain\app-user)
When I browse to test.domain.com/app, WindowsIdentity.GetCurrent().Name shows domain\iis-user instead of domain\app-user.
I've checked that both user accounts are in the proper IIS security groups on the server and have tried setting SPNs. Changing the account for the AppPool to a known good account made no difference.