IIS7 Handler Mapping Migration from Sites Config to Server Config [migrated]
- by Danomite
We have a bunch of sites running with about 8 handler mappings in their web.config files. Unfortunately, they were getting copied site to site every time a new one was added.
Now the time has come for me to get these out of all the web.config's and get them into the server's Handler Mappings.
If I add the mapping to the the server while it still exists in the web.config, IIS throws an error when you browse to the site. I have a few dozen web.config's to edit here with about 10 mappings in each.
Is there a way to add these mappings to the server without having to go in an edit each web.config file manually? Otherwise, every site will be down for a few minutes while I go into each file and remove the handlers.
Thanks!