Solved

Sharepoint Cannot find ContentPlaceHolder

Posted on 2011-02-10
3
877 Views
Last Modified: 2012-05-11
We had a programmer create a customer master publishing page.    We want to change the page back to a default master page, but when we change it in site settings, we get the following error.

Cannot find ContentPlaceHolder 'PlaceHolderRightActions' in the master page '/_catalogs/masterpage/v4_custom.master', verify content control's ContentPlaceHolderID attribute in the content page.

I've tried a few different master pages and they all return the same error.    The only one that does not is the customized master page.
0
Comment
Question by:wsaharem
3 Comments
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 500 total points
ID: 34865139
this means, that you have not defined the Content place holder control in that master page
but your content requires it and is trying to use it

If you want you can share the code for the master here and I will point out the changes.

Best of luck
0
 
LVL 7

Expert Comment

by:foobarr
ID: 34891867
You need to check if your deployed farm or sanboxed solutions, and see if those projects are using the "PlaceHolderRightActions" content place holder.  You can simply comment it out and that should remove the error.  Should look like <asp:ContentPlaceHolder Id="content123" runat="server" contentplaceholderid="PlaceHolderRightActions">...</asp:contentplaceholder>

You could always just add that placeholder into your default.master and then just hide it using client side code css.  If you hide it using visible="false" or server side code, I find it gives the same error

0
 
LVL 1

Author Closing Comment

by:wsaharem
ID: 34919336
Just removing the tag was not sufficient.  I had to put the tag in the new master page, but commented it out.   That allowed the new master page to load.  Odd, but it worked.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now