June 15, 2011

Fixing a Pagelayout issue for the migrated site

Hi, Here in my case when i migrated a publishing site after a edit page action in home page and tried to save and exit edit i got stucked with a error message saying:
This page is not using a valid page layout.  To correct the problem, edit page settings and select a valid page layout."
so for this i used a stsadm command to fix this issue
stsadm -o gl-fixpublishingpagespagelayouturl -url http://yoursite/sitename -scope <WebApplication | Site | Web | Page> .... and so on. for my case i used only URL & SCOPE switches. for additional please check the STSADM.EXE -help gl-fixpublishingpagespagelayouturl.


No comments:

Post a Comment