I'm having a weird problem I'm trying to understand and resolve.
I'm provisionning through a feature a custom search results page (and a page layout, master page, css file and xslt stylesheet). When the core results webpart appears on the page, this error occurs :
"Property doesn't exist or is used in a manner inconsistent with schema settings."
As long as I am only using one instance of this webpart on the page, the errors is always shown. But at the moment where I add a new core results webpart (the exact same as the one provisionned), the new one works, but the first one still doesn't work. I can then put the first one in hidden mode and everything works.
What is happening ?
I tried to check with the default result page, and it does not happen with the OOTB page.
I am not using custom columns, so I don't understand why this error is the one shown. The logs have absolutely nothing related to that...
Does anyone have an idea where is the problem ?
EDIT :
I tried not provisionning the webpart with the feature and only adding it through the user interface by uploading it, and it had the exact same behaviour.
EDIT 2 :
Here is my module content :
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Module Name="SiteFiles" Url="Pages" Path="SiteFiles">
<File Url="Results.aspx" IgnoreIfAlreadyExists="TRUE" Type="GhostableInLibrary">
<AllUsersWebPart WebPartOrder="0" WebPartZoneID="TopZone">
<![CDATA[
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
</metaData>
<data>
<properties>
<property name="SpellcheckingMode" type="Microsoft.Office.Server.Search.Query.SpellcheckMode, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Suggest</property>
<property name="MissingAssembly" type="string">Cannot import this Web Part.</property>
<property name="AllowConnect" type="bool">False</property>
<property name="HelpMode" type="helpmode">Modeless</property>
<property name="CharactersInUrl" type="int">90</property>
<property name="ShowLangPicker" type="bool">True</property>
<property name="DisplayName" type="string" />
<property name="MoreLinkUrl" type="string" null="true" />
<property name="Title" type="string">Search Core Results</property>
<property name="ShowActionLinks" type="bool">False</property>
<property name="ViewFlag" type="string">0</property>
<property name="QueryNumber" type="Microsoft.Office.Server.Search.WebControls.QueryId, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Query1</property>
<property name="PreviewWindowSize" type="string">160</property>
<property name="DateFormat" type="Microsoft.SharePoint.Utilities.SPDateFormat, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">DateOnly</property>
<property name="AllowClose" type="bool">True</property>
<property name="SentencesInSummary" type="System.Int16, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">3</property>
<property name="HighestResultPage" type="System.Int16, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">1000</property>
<property name="CacheXslTimeOut" type="int">86400</property>
<property name="RelevanceView" type="bool">False</property>
<property name="MoreLinkLabel" type="string">View more results »</property>
<property name="ManualRefresh" type="bool">False</property>
<property name="ListUrl" type="string" null="true" />
<property name="FixedQuery" type="string" />
<property name="CacheXslStorage" type="bool">True</property>
<property name="ResubmitFlag" type="Microsoft.Office.Server.Search.Query.ResubmitFlag, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">NoResubmit</property>
<property name="XslLink" type="string" null="true" />
<property name="EnableStemming" type="bool">False</property>
<property name="ShowSearchResults" type="bool">True</property>
<property name="AllowMinimize" type="bool">True</property>
<property name="AllowHide" type="bool">True</property>
<property name="ShowMoreLink" type="bool">False</property>
<property name="ListDisplayName" type="string" null="true" />
<property name="ChromeType" type="chrometype">None</property>
<property name="EnableDocumentPreviewPowerPoint" type="bool">True</property>
<property name="DefaultRankingModelID" type="string" />
<property name="CatalogIconImageUrl" type="string" />
<property name="Default" type="string" />
<property name="DisplayRSSLink" type="bool">False</property>
<property name="FireInitialRow" type="bool">True</property>
<property name="TotalNumberDocumentPreview" type="string">10</property>
<property name="DateView" type="bool">False</property>
<property name="ViewFlags" type="Microsoft.SharePoint.SPViewFlags, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">None</property>
<property name="DisplayAlertMeLink" type="bool">False</property>
<property name="DataSourceID" type="string" />
<property name="HelpUrl" type="string" />
<property name="DisplayDiscoveredDefinition" type="bool">True</property>
<property name="AppendedQuery" type="string" />
<property name="AsyncRefresh" type="bool">False</property>
<property name="IgnoreNoise" type="bool">True</property>
<property name="Height" type="string" />
<property name="PageSize" type="int">-1</property>
<property name="UseSQLDataSourcePaging" type="bool">True</property>
<property name="AllowEdit" type="bool">True</property>
<property name="ViewContentTypeId" type="string" />
<property name="Hidden" type="bool">False</property>
<property name="DefaultSort" type="Microsoft.Office.Server.Search.WebControls.ResultsView, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Relevance</property>
<property name="ExportMode" type="exportmode">All</property>
<property name="ConcurrentNumberDocumentPreview" type="string">10</property>
<property name="ListName" type="string" />
<property name="PropertiesToRetrieve" type="string"><Columns> <Column Name="WorkId"/> <Column Name="Rank"/> <Column Name="Title"/> <Column Name="Author"/> <Column Name="Size"/> <Column Name="Path"/> <Column Name="Description"/> <Column Name="Write"/> <Column Name="SiteName"/> <Column Name="CollapsingStatus"/> <Column Name="HitHighlightedSummary"/> <Column Name="HitHighlightedProperties"/> <Column Name="ContentClass"/> <Column Name="IsDocument"/> <Column Name="PictureThumbnailURL"/> <Column Name="PopularSocialTags"/> <Column Name="PictureWidth"/> <Column Name="PictureHeight"/> <Column Name="DatePictureTaken"/> <Column Name="ServerRedirectedURL"/> </Columns></property>
<property name="ParameterBindings" type="string" null="true" />
<property name="DataSourcesString" type="string" />
<property name="EnablePhonetic" type="bool">False</property>
<property name="ListId" type="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">00000000-0000-0000-0000-000000000000</property>
<property name="Scope" type="string" />
<property name="XmlDefinitionLink" type="string" />
<property name="DataFields" type="string" />
<property name="ShowMessages" type="bool">False</property>
<property name="Width" type="string" />
<property name="InitialAsyncDataFetch" type="bool">False</property>
<property name="QuerySideLanguage" type="string">-1</property>
<property name="MoreResultsLink" type="string" null="true" />
<property name="XmlDefinition" type="string" />
<property name="ChromeState" type="chromestate">Normal</property>
<property name="PageType" type="Microsoft.SharePoint.PAGETYPE, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">PAGE_NORMALVIEW</property>
<property name="ScopeID" type="int">1</property>
<property name="SelectColumns" type="string"><Columns> <Column Name="WorkId"/> <Column Name="Rank"/> <Column Name="Title"/> <Column Name="Author"/> <Column Name="Size"/> <Column Name="Path"/> <Column Name="Description"/> <Column Name="Write"/> <Column Name="SiteName"/> <Column Name="CollapsingStatus"/> <Column Name="HitHighlightedSummary"/> <Column Name="HitHighlightedProperties"/> <Column Name="ContentClass"/> <Column Name="IsDocument"/> <Column Name="PictureThumbnailURL"/> <Column Name="PopularSocialTags"/> <Column Name="PictureWidth"/> <Column Name="PictureHeight"/> <Column Name="DatePictureTaken"/> <Column Name="ServerRedirectedURL"/> </Columns></property>
<property name="SampleData" type="string"><All_Results> <Result> <workid>1</workid> <rank>222</rank> <title>Title of document or web page</title> <author>Author of document or web page</author> <size>1025</size> <sitename>http://www.sample.com</sitename> <url>http://www.sample.com/folder/document.aspx</url> <imageurl>/_layouts/images/aspx16.gif</imageurl> <description>This is the summary of the document or web page. The summary is generated from the original document based on matches with query terms. In some cases, the summary is a description provided by the author.</description> <write>December 26, 2004</write> </Result></All_Results></property>
<property name="EnableDocumentPreviewWord" type="bool">True</property>
<property name="AutoRefreshInterval" type="int">60</property>
<property name="CharactersInSummary" type="int">185</property>
<property name="TitleUrl" type="string" />
<property name="RemoveDuplicates" type="bool">True</property>
<property name="Xsl" type="string" />
<property name="View" type="Microsoft.Office.Server.Search.WebControls.ResultsView, Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">Relevance</property>
<property name="TitleIconImageUrl" type="string" />
<property name="EnableSimilarFind" type="bool">False</property>
<property name="Direction" type="direction">NotSet</property>
<property name="AllowZoneChange" type="bool">True</property>
<property name="ResultsPerPage" type="System.Int16, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">10</property>
<property name="ShowWithSampleData" type="bool">False</property>
<property name="Description" type="string">Displays the search results and the properties associated with them.</property>
<property name="EnableNicknames" type="bool">False</property>
<property name="AutoRefresh" type="bool">False</property>
<property name="IsLocationPeople" type="bool">False</property>
<property name="Location" type="string">LocalSearchIndex</property>
<property name="NoDefaultStyle" type="string" null="true" />
<property name="ShowWindowsSearch" type="bool">True</property>
<property name="UseLocationVisualization" type="bool">False</property>
<property name="MoreResultsText" type="string">View more results »</property>
</properties>
</data>
</webPart>
</webParts>
]]>
</AllUsersWebPart>
</File>
</Module>
</Elements>