SharePoint 2010 Errors Saving a Page

Recently, I ran in to an issue where SharePoint would error out when trying to save a page edit. Even if you just went to edit mode and clicked to save and close, it would error out and provide a correlation ID without having made a change.

Using ULS Viewer, I took a look at the correlation ID to find that the error was, “The SPListItem provided is not compatible with a Publishing Page.”

This was a new error to me, so I started looking for more information. Googling it, I found several references and explanations on what needed to be done, but not many sources really explained the process of fixing it clearly.

To fix this issue, you need to disable and re-enable the Publishing service for SharePoint, using Powershell.

Open Powershell on the SharePoint server as an administrator. Type the following commands:
Disable-SPFeature –Identity Publishing –url http://Site_Name_Here

Wait for the process to complete successfully, then re-enable it:
Enable-SPFeature –Identity Publishing –url http://Site_Name_Here

Assuming the process completes successfully, you should be able to edit and check-in the page again without any problems. It is unclear to me what causes this issue, but at least it’s an easy fix.