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 have a developer environment with two sites configured with anonymous access. Everything was working fine until I migrated to a VM. Now each time I try to enter I get a 401.2 error. I've searched all over the place and tried fixes from various MS knowledgebases but I can't get past the message. If I enable basic authentication it works but I need it to work without authentication.

share|improve this question

We were having the same issue just now and solved it by brute forcing some settings and for us enabling windows authentication with hard coded credentials (the machine's login) solved the problem. It's not really anonymous like we like it, but client (browser) side you won't be prompted.

share|improve this answer
sounds like fun... will try it – nstraub Jan 5 '12 at 17:28
could you share what you did to get it working? I'm a bit lost on the matter :S – nstraub Jan 5 '12 at 17:39
up vote 0 down vote accepted

the problem was that our app was nested inside another app, after changing the virtual location for the app, the problem went away

share|improve this answer
This should be an edit to the original Question. Serverfault isn't a traditional forum, Read our FAQ. – Tom O'Connor Jan 7 '12 at 11:28
@TomO'Connor Actually, no. Since this is a resolution to the problem, it is perfectly acceptable for this to be an answer. And after the time limit has passed (48 hours I think) Nicolás can accept it. – sysadmin1138 Jan 7 '12 at 11:55

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.