Questions tagged [spwebconfigmodification]
A class of the Microsoft.SharePoint.Administration namespace that holds modifications that are made to the web.config.
3
questions
3
votes
1
answer
2k
views
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 ...
1
vote
2
answers
1k
views
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....
1
vote
1
answer
3k
views
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....