Archive for the ‘SPWebConfigModification’ Category

Web.config Modification Manager for SharePoint 2010

July 14, 2011 Leave a comment

I’ve used the excellent Web.Config Modification manager add-on by Vincent Rothwell (original script and more info can be found here) many times to diagnose issues in MOSS, it’s especially useful diagnosing issues with code that uses the SPWebConfigModification class.

Although there is no official version for SharePoint 2010, it works well if you just amend to the referenced assembly to Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c but to save you the hassle, I’ve done this already and also fixed a small bug which occurred when updating values containing apostrophes.

To install, download the file at the bottom of this post, rename to webconfig.aspx and copy to the 14/TEMPLATE/ADMIN folder.  Access via your Central Administration URL followed by /_Admin/webconfig.aspx

Download here and rename to webconfig.aspx

%d bloggers like this: