I am using a third party control for my application in SharePoint 2010 and I need to add entries in the web.config of the web application. Programmatically I have added the entries in the code and while executing the code below
webApp.Farm.Services.GetValue<SPWebService>().ApplyWebConfigModifications();
I am getting Access Denied error.I have elevated the privileges before updating it. Could anypone provide a solution for this?
