Jaa


The following error was encountered while attempting to save the Page: Save operation failed with the following exception : Invalid item data -- missing FileRef

RESOLUTION/WORKAROUND:

==========================

Replace the Page directive with the following statement.

<%@ Page language="C#" MasterPageFile="~masterurl/custom.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full" meta:progid="SharePoint.WebPartPage.Document" %>

STEPS TO REPRO:

====================

1. Create cutom search Page and add the following Page directive

<%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %>

2. Install it as a feature.

3. Add any advanced search Web Part on this Page and Change any property in edit mode of the page.

4. Nivigate to another Page in the site. An alert message will pops-up to store the page changes.

4. After you press the ok button, you will see the following error.

"The following error was encountered while attempting to save the Page: Save operation failed with the following exception : Invalid item data -- missing FileRef."

Comments

  • Anonymous
    June 03, 2009
    The comment has been removed