I am trying to use the Configuration Manager in a 2010 project.
This is the code I am using in the FeatureActivated override of a Feature Receiver:
IConfigManager configManager = SharePointServiceLocator.Current.GetInstance<IConfigManager>();
if (configManager != null)
When I call this from a Feature Receiver, I get an Access Denied error from the line:
WriteToTraceLog(propertyBag, key, valueAsString);
Reading the documentation, I see I have to register the SharePoint Logger as a Farm Feature, but the documentation doesn't say how.
I am using Drop 3.