Tagged Questions
1
vote
0answers
21 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 ...
4
votes
2answers
815 views
Add custom error handler at beginning of modules section in web.config (not manually)
Is there a way to put an error handler HTTPModule at the beginning of the modules section in web.config without doing this manually?
I've tried the supplemental web.config approach like this:
...
2
votes
1answer
387 views
How to register an ashx handler through sharepoint 2010 farm solution
I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
1
vote
2answers
104 views
Setting individual WFE config setting
As per my understanding SPWebConfigModification class modifies the web.config across the farm, including all WFE.
Are there any workaround to set some WFE specific web.config setting, like licence key ...
0
votes
1answer
201 views
Getting “Expression must evaluate to a node-set” exception while adding HttpHandler entries to web.config programmatically?
I'm trying to update web.config in SharePoint when the feature is activated to register an HttpHandler. The code inside receiver is
var configModifications = new SPWebConfigModification
{
Owner ...
0
votes
1answer
768 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 = ...