Can anyone tell me whether there is a way to call SPWebConfigModification without using the SPFeatureReceiver class?
My current solution does not include a Feature and I was wondering if there's another way to add/remove config changes for the destination webapp. private static SPWebConfigModification[] modifications = { new SPWebConfigModification("enableSessionState", "configuration/SharePoint/pages") { Owner = "CEO.SharePoint.Captcha", Sequence = 0, Type = SPWebConfigModification.SPWebConfigModificationType.EnsureAttribute, Value = "true" } }; SPWebApplication webApp = (SPWebApplication)properties.???; foreach (SPWebConfigModification modification in this.Modifications) { webApp.WebConfigModifications.Add(modification); } webApp.WebService.ApplyWebConfigModifications(); webApp.Update(); Kind regards, Paul Noone --------------------------------------------------- Online Developer/Administrator Information Communication and Technology Catholic Education Office, Sydney p: (02) 9568 8461 f: (02) 9568 8483 e: paul.no...@ceosyd.catholic.edu.au<mailto:paul.no...@ceosyd.catholic.edu.au> w: http://www.ceosyd.catholic.edu.au/
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss