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

learn more… | top users | synonyms

2
votes
1answer
29 views

Applying Web.config Modifications Without STSAdm

I have a solution where I am including a webconfig.Name.xml modification file in the CONFIG mapped folder. The problem is, it is only applied if I add a post-build step of: stsadm -o ...
1
vote
1answer
162 views

Problem to modify web.config in runtime

I'm trying to modify the web.config file when the feature is activated with the code below: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWebApplication webApp ...
0
votes
1answer
21 views

Remove bindings using SPWebConfigModification

I am dynamically adding bindings in web.config. But I don't know how to remove it Here is complete code public override void FeatureActivated(SPFeatureReceiverProperties properties) { ...
1
vote
0answers
46 views

SPWebConfigModification error “The '[' character, hexadecimal value 0x5B, cannot be included in a name. Line 2, position 2727.”

I am using SPWebConfigModification thorugh webapplication feature everytime it shows error "The '[' character, hexadecimal value 0x5B, cannot be included in a name. Line 2, position 2727." I am very ...
1
vote
0answers
40 views

What is SPXmlDocCache & SPXmlDocCacheRefreshSentinel

I am getting UpdatedConcurrencyException: The object SPXmlDocCacheRefreshSentinel was updated by another user. in ULS during a web application scoped feature uninstall (as part of a solution ...
1
vote
0answers
37 views

SPWebConfigModification and the SPContentService collection

I have created a class that parses an xml file and then adds the appropriate modifications to the web.config in my SharePoint 2010 web applications. When a feature is activated the proper mods are ...
1
vote
0answers
416 views

Error on SPWebApplication.WebService.ApplyWeyConfigModifications

I've been trying to add a line to my web.config through a EventReceiver on my webpart's Feature. I tried to follow some 'tutorials' (this, this and this). It wasn't working, but at least i could ...
0
votes
0answers
58 views

'Add Solution': Object reference not set to an instance of an object

I have a WebApplication scoped feature and I am getting this error when I deploy. I have searched all over the internet, and the answers I have found are not much help. Here is the code that is ...
0
votes
0answers
44 views

Programmatically view web.config

I used the SPWebConfigModification class to modify the web config (so I thought)*. I went through and looked at all the web configs that I knew of (layouts hive, config hive, iis virtual directories) ...
0
votes
0answers
260 views

Manage Content and Structure Custom Errors After Upgrade

I upgraded to SharePoint 2010 and now I can not get access to the content and structure section located under "Site Actions". The runtime error appears telling me that an Application error occurred on ...