Quantcast
Channel: SNR SharePoint Blog » SharePoint Designer
Viewing all articles
Browse latest Browse all 8

Change Page Layout Error

$
0
0

Sometimes you copy the Page Layouts to another server or another web application. In these scenarios you may encounter some problems in cases that you want to modify the page in browser or SharePoint Designer. For example when you want to modify the page in browser you may encounter this problem “Value does not fall within the expected range”. Or if you try to modify the page in the SharePoint Designer and you try to detach the Page from its Page Layout (To customize), the system gives you an error.

This is because the codes in the page are using the Page Layout with the old URL. So you should modify this URL in the page code.

You can do this by:

  1. Select the Page in SharePoint Designer and Export it (File > Export) to your hard drive.
  2. Open the exported file in an editor like Notepad.
  3. Search for “mso:PublishingPageLayout”. You will find that the URL inside this tag is invalid.
  4. So Change the URL and Import the file to the new server.

I found the solution in this blog and it was helpful to me. Thanks to ¥ong¥s .



Viewing all articles
Browse latest Browse all 8

Trending Articles