IIS 7 & IIS 8
UI & Remote Management
Removing "Local" List Items Without Disabling Inheritence
Last post Nov 29, 2007 10:33 PM by rlucero
Nov 27, 2007 11:22 PM|LINK
I am currently running Server 2008 RC0.
Using the example of the Handler Mappings feature on the Web site level, I have a Handler Mapping for the ".php" file extension that is set as a "Local" Mapping, as well as a few other "Local" Handler Mappings on the site.
If I now want to revert only the ".php" Handler Mapping to the inherited value, I cannot simply click "Remove" in the actions pane, or this will create a <remove> tag within the web.config/applicationHost.config for this Handler Mapping. This <remove> tag
overrules the inheritence of this property, leaving the Handler Mappings with no ".php" Mapping at all, when I intended to revert this property to inherited.
I also do not wish to use the "Revert to Inherited" action, because this action applies to the entire Hander Mappings feature, rather than individual list items, and I intended to retain the other "Local" Mappings, and avoid re-creating them all.
The only solution I have at this point is to remove the "<remove>" tag from the web.config/applicationHost.config, which to me seems like a lot more effort than is necessary. Is there a "Revert to Inherited" feature in the works for individual list items,
or are there any other options available?
Nov 29, 2007 10:33 PM|LINK
No, unfortunately it is not possible to revert a single item back to its inherited value through the UI.
What you can do though is simply remove the “<add>” tag that contains php from the web.config and that is the same as reverting to inherited for a single item.
When the item is removed the site/app will return to using the parent settings and the UI should correctly display the parent value.
Ex:(Remove the "<add name..." portion)