Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Sharepoint Cannot find ContentPlaceHolder

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint JSOM error 7 75
SharePoint 2013 Searchbox Branding 11 111
SharePoint CAML Query - retrieving field names 3 95
Backup of Sharepoint Online 3 120
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 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