Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > Can’t add web parts after installing Service Pack 2 on SharePoint 2010
August 18
Can’t add web parts after installing Service Pack 2 on SharePoint 2010

Now that SharePoint is out a bunch of us SharePoint nerds are champing at the bit to get it installed. One of the jobs of the trailblazers is to find the rough spots so the folks that follow don’t have to lose wagon wheels in them. This is one of those cases.

First, let me say that my investigation into this bug is very much in its infancy. I don’t know exactly what causes it, and it doesn’t seem to be completely reproducible. I wanted to get it out there in case anyone else is banging their head against a wall because of it. I also needed something to point at in my wiki of SP2. I’ll update this post and the wiki page as I learn more.

Now to the bug. In some cases adding a Content Editor Web Part (CEWP) to a page breaks the ability to add more web parts to the page. The “Add Web Part” link is gray. Removing the CEWP from the page fixes it. It looks like this only happens if you modify the master page or CSS for the page. I haven’t seen it happen with out of the box pages. Here are a couple of screenshots to show what I saw:

SharePoint 2010 SP2 add

In this shot we see a regular told Team site in SharePoint 2010. Service Pack 2 has been installed on the server. In the top right we are logged in to the page and we’re editing it. We are able to add web parts to the page. There are no CEWPs on the page. In the lower left we can see the page allows anonymous access, and that for anonymous users the ribbon is hidden. I used Randy Drisgill’s technique here to modify the master page to remove the ribbon for anonymous users. I used the same technique on this blog to help some Android devices render pages correctly. Everything is good.

Then I added a CEWP to the page and the wheels fell off.

SharePoint 2010 SP2 No add

I added an empty CEWP to the page and saved it. Then I opened it back up to edit it. The upper left browser shows that all the options are grayed out. The lower right shows the page still renders fine with the CEWP in it. Removing the CEWP fixes the page.

I’ve bounced this off of a few folks and they’ve all been able to reproduce it to varying degrees. There appear to be a couple different master page and CSS tweaks that trigger it, and a couple of webparts beside the CEWP that it happens with. It appears that SharePoint does some checks on the page before it lights up the “Add Webpart” box and for whatever reason the page now fails these checks. As I get more information and verify it I’ll add it to this blog post. If you have information to share, leave it in a comment below.

At the time of this blog post the latest SharePoint 2010 build is the August 2013 CU, build 14.0.7106.5000. It still has this problem.





Only Wiki?

Hey Todd, does this only happen with Wiki pages?  Or does it also happen with regular web part pages?

Laura Rogers
 on 8/19/2013 9:40 AM

Re: Only Wiki?

Hi Laura!
I've reproduced it on the front page of a default Team site which has the Wiki Home Page Feature enabled and Publishing site. I'm not sure where else it happens.

Todd O. KlindtNo presence information on 8/19/2013 9:47 AM


This is actually fixed in June'13 CU. Since June CU is not a part of SP2 and needs to be installed prior to SP2 install.
 on 8/19/2013 11:20 PM

Re: Fix

So if it's fixed in June CU - why isn't it in the August CU with which Todd tested? ("...the August 2013 CU, build 14.0.7106.5000. It still has this problem")
 on 8/19/2013 11:38 PM


Also now have this problem now with SP2 and August CU is there a hotfix to resolve?
 on 8/20/2013 2:23 AM

Reselect page layout

Hello - another TK here (you're the imposter, methinks) ;o)

We had to back this SP out as it was affecting all page layouts, not just customised ones. I did find a work around though - (1) if you check the page out and then edit it - it seems fine (2) if you forget and go straight into edit page you can go into Page Layout and just press Blank Web Part page symbol (for example) and that clears the issue.

No idea why - but it's handy to know if you've already edited some text and don't want to quit the page and start over.

 on 8/21/2013 7:13 AM

Enterprise Wiki Page

Ran into a similar issue as well with one of my sites that uses heavy customization in terms of master page, page layouts and custom CSS.  In this site, I leverage the Enterprise Wiki page heavily along with tags from the term store.

After SP2, I noticed that whenever I went to edit a page, it threw a security validation error and removed the tags already associated with the page.  As the previous poster indicated, if I check out the page first and then edit, everything seems to work normally.

It's a really strange one though as other page layouts which have also been customized do not experience the error.  As far as I can tell at this point, it's strictly limited to the Enterprise Wiki page layout.  Also using a lot of content query web parts on these pages and can still add other web parts so it doesn't seem to affect the content query.
 on 8/26/2013 4:25 PM

Has anyone tried this?

"This is actually fixed in June'13 CU. Since June CU is not a part of SP2 and needs to be installed prior to SP2 install."

1. install June'13 CU
2. install SP2
3. tested the content web part on a page

I was looking to go straight to SP2 from SP1 to fix a different issue, but I hesitate after reading this post. Of course, I can instruct the site owners to check out the page before edit as a workaround (it kinda seems like a good idea anyway).
 on 8/27/2013 7:16 AM

Re: Has anyone tried this?

I haven't tested this issue after that installation combination.

Todd O. KlindtNo presence information on 8/28/2013 8:43 AM

Re: Enterprise Wiki Page

Thanks for the feedback.

Todd O. KlindtNo presence information on 8/28/2013 8:47 AM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.


Body *

Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person


Want a message when I reply to your comment? Put your Twitter handle here.