Share via


SharePoint: Data at the root level is invalid. line 1 position 1

While trying to create a page in a subsite, we see the error below sometimes:

Issue: Unable to create new page in SharePoint 2007 subsite.

Error: "Data at the root level is invalid. line 1 position 1"

Resolution:

· Deactivate Office SharePoint Server Publishing feature from the affected subsite - Site features
· Deactivate Office SharePoint Server Publishing Infrastructure feature from the top level site - Site Collection features
· Activate Office SharePoint Server Publishing Infrastructure feature from the top level site - Site Collection features
· Activate Office SharePoint Server Publishing feature from the affected subsite - Site features

Note: If you find a different solution, please report it as a comment to this post. This will be useful to the SharePoint Community. Be sure to double-verify it: undo your solution and verify that the problem comes back, then redo it and verify that the problem goes away.

See Also

  1. SharePoint Resources on the TechNet Wiki
  2. SharePoint 2013 Portal
  3. SharePoint 2013 - Service Applications
  4. SharePoint 2013 - Resources for Developers
  5. SharePoint 2013 - Resources for IT Pros