Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.