I'm using Supplemental .config for add an httpmodule to the web.config in Sharepoint 2010. I use a feature receiver to push the entry from Supplemental .config to the web.config.
But I couldn't figure it out how to remove the entry as otherwise it adds the entry over and over again when ever I deploy the feature.
Here is the Supplemental .config.
<?xml version="1.0" encoding="utf-8" ?>
<add name="ABC404HttpModule" type="ABC.Internet.Business.HttpModules.ABC404HttpModule, ABC.Internet.Business, Version=220.127.116.11, Culture=neutral, PublicKeyToken=9e85b319f306f692" />
I tried to use remove node without any success. May be I don't know how to use it correctly.
Thanks in advance.
View Complete Post