Solved

Sharepoint Cannot find ContentPlaceHolder

Posted on 2011-02-10
3
876 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

18 Experts available now in Live!

Get 1:1 Help Now