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

How do you restore the default handler mappings? I accidentally deleted the StaticFileModule in the DefaultWebSite and now I can't bring it back.

Additionally, Reverting to Parent doesn't bring it back.

share|improve this question

Reverting should do it if the change was just for the default web site. Check out your web.config file for DefaultWebSite using notepad. You should see a for StaticFileModule. You can manually remove that and save the file.

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.