Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been troubleshooting the inability to assign a certain username as the identity for our App Pool running on an IIS 7 installation. The account used has a name that is 24 characters long, and regardless of how I checked to make sure it was correct I would always get an invalid password error when I tried to set up an account. However, when I supply the Pre-Windows 2000 name of the account (essentially truncating the username down to the first 20 characters) I am able to use the account.

What am I missing to be able to make it so I can just use the full username? While this method would technically work, I'd like to resolve the issue if possible for the sake of a homogenous environment.

share|improve this question
up vote 0 down vote accepted

Don't waste time on it. Assume it's a bug, and use the SamAccountName. UPNs are pretty so users can remember them; App Pools tend not to make their username visible to anyone but the admins...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.