Questions tagged [spwebconfigmodification]

A class of the Microsoft.SharePoint.Administration namespace that holds modifications that are made to the web.config.

Filter by
Sorted by
Tagged with
3 votes
1 answer

web.config Entries not Being Removed During Feature Deactivation

I'm writing a web application scoped feature receiver to make changes to web.config using SPWebConfigModification. Adding entries is working well. My problem is removing the entries. When stepping ...
Mike H's user avatar
  • 695
1 vote
2 answers

Web.Config Modification not removing

I'm using the code below to add and remove a web.config change when my solution is being installed and uninstalled. The addition is working perfectly, however, the removal (although updating the web....
user avatar
1 vote
1 answer

WebConfigModifications Remove functionality is not working in SharePoint 2010

I am using the following code to remove a web.config modification which added to web.config via one feature Collection<SPWebConfigModification> applicationModifications = webApplication....
Ahmed Atia's user avatar