‘Value does not fall within the expected range’ error when viewing page settings and schedule Edit

I experienced this error after making a hostname change to a SharePoint web application.

The cause?  When a page is created it holds an absolute reference to its page layout:

<mso:PublishingPageLayout msdt:dt="string">http://<siteurl>/_catalogs/masterpage/iEastWelcomePage_Layout.aspx, Page Layout Name</mso:PublishingPageLayout>

This needs to be updated to reflect the hostname change.

To do this:

  • Open the site in SharePoint Designer
  • Check out the page
  • Export the page – File > Export
  • Open the content of the page and change the hostname as appropriate
  • Return to SharePoint Designer and import the page – File > Import – overwriting the existing page
  • Check-in the page and approve

To identify the broken pages you can:

  • Open the site in SharePoint Designer
  • Edit > Find
  • Change search options to ‘All Pages’
  • Enter an appropriate search string
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s