Activate the site collection publishing feature gives error: The content type “Page Layout” at “/teams/T200001/_catalogs/masterpage” is read only

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/130710

  •  01-10-2020
  •  | 
  •  

Question

I have a sp 2010 site collection. When I try to activate the site collection "SharePoint Server Publishing Infrastructure" feature I got this error:

The content type "Page Layout" at "/teams/T200001/_catalogs/masterpage" is read only.

What is going wrong?

Was it helpful?

Solution

  1. Go to Site Content Types, then, go to the Document Content Types section
  2. Click Document in that section
  3. Click Advanced on the Site Content Types for that content type
  4. In the Read Only section of that page click YES
  5. Click OK

Source: Geoff Evelyn's answer here: https://social.technet.microsoft.com/Forums/en-US/bc53d0ff-b7b4-4cc3-b3e9-87af23f8ba8e/powershell-command-to-set-the-masterpage-page-layout-content-type-readonly-to-no?forum=sharepointadminprevious

Or

$w = get-web http://myweb
$list = $w.Lists["_catalogs/masterpage"]
foreach ($item in $list)

{$item.ReadOnly = $false
$item.Update()}

$w.Dispose()

Source: Chilly Moon's answer here: https://social.technet.microsoft.com/Forums/en-US/bc53d0ff-b7b4-4cc3-b3e9-87af23f8ba8e/powershell-command-to-set-the-masterpage-page-layout-content-type-readonly-to-no?forum=sharepointadminprevious

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top