locked
preupgradecheck fails at (or just after) SPSearchInfo RRS feed

  • Question

  • Hi

    I'm running a preupgradecheck on an SP2 MOSS2007 farm. The check runs through fine until it gets to the SPSearchInfo section whereupon it fails with:

    SPSearchInfo... Information Only
    An error occurred while parsing EntityName. Line 11, position 65.

    It may be that its failing immediately after the SPSearchInfo check rather than during it as it displays the 'Information Only' message before the error message.

    Has anyone seen this before? Any fixes?

    Cheers

    Mike

     

    Wednesday, April 27, 2011 3:16 PM

All replies

  • I search a little bit on internet and within microsoft private support database.

    The error "An error occurred while parsing EntityName" is usually caused by special characters such as "&" use in places such as SharePoint group name.

     

    Could you please check the pre-upgrade operation output http://technet.microsoft.com/en-us/library/dd793609(office.12).aspx#bk_output or ULS log (http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx ) to see if you can find any information about where the special character is used?

     

     

     

    Gu Yuming

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com



    Friday, April 29, 2011 2:48 AM
  • Hi

    I've been unable to find an '&' character in either of the xlm rule files (WssPreUpgradeCheck.xml and OssPreUpgradeCheck.xml) or indeed any part of these files. The failuer appears to be in WssPreUpgradeCheck.xml. Line 11 looks like this:

    <Substitution Name="SearchRuleAssembly">Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Substitution>

    The ULS logs give a similar error message but include the call stack:

    stsadm: An error occurred while parsing EntityName. Line 11, position 65. Callstack:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.ParseEntityName()     at System.Xml.XmlTextReaderImpl.ParseEntityReference()     at System.Xml.XmlTextReaderImpl.Read()     at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)     at System.Xml.XmlLoader.ParsePartialContent(XmlNode parentNode, String innerxmltext, XmlNodeType nt)     at System.Xml.XmlLoader.LoadInnerXmlElement(XmlElement node, String innerxmltext)     at Microsoft.SharePoint.StsAdmin.SPHealthAnalyzerReport.ConvertReportToXml()     at Microsoft.SharePoint.StsAdmin.SPHealthAnalyzerReport.SaveAsXml(String s)     at Microsoft.SharePoint.StsAdmin.SPPreUpgradeCheck.Run(StringDictionary keyValues)  at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars) 

    Does this help?

    Cheers

    Mike

     

     

    Wednesday, June 1, 2011 5:17 PM
  • Also, just curious what CU are you running for the preupgrade check I prefer at least 10/2010 and always use the 12/2010 CU for SP2007, but do not deploy the 12/2010 CU to SP2010..

     

    -Ivan


    Ivan Sanders My LinkedIn Profile, My Blog, @iasanders.
    Wednesday, June 1, 2011 5:47 PM
  • Still on sp2 but April 2011 CU is planned for tomorrow.
    Wednesday, June 1, 2011 7:21 PM
  • HI Mike,

    1. Remove the start addresses with ampersand sign(s) from any content sources. (OR)


    2. Remove the 'SearchContentSourcesInfo' rule of the 'OssPreUpgradeCheck.xml' file:
    a) Open the 'OssPreUpgradeCheck.xml' file which is located in the folder 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\CONFIG\PreUpgradeCheck'
    b) Remove the following lines:

    Title="{0}" Text="{1}" P0="$.[1]" P1="$.[2]"/>

    c) Save the 'OssPreUpgradeCheck.xml' file.

    then re run the pre-upgrade and check.

    Thanks,

    Raj

    • Proposed as answer by Nikos Yannios Wednesday, December 21, 2011 11:14 PM
    Thursday, June 2, 2011 8:09 AM
  • HI Mike,

    PLease let us know the outcome if you have followed my above plan.

    Thanks,

    Raj

    Monday, June 13, 2011 11:06 AM
  • Hi Mike,

    If your issue is resolved or you need more guidance please let us know, if resolved please close the post.

     

    -Ivan


    Ivan Sanders My LinkedIn Profile, My Blog, @iasanders.
    Tuesday, June 28, 2011 6:00 AM
  • HI Mike,

    PLease let us know the outcome if you have followed my above plan.

    Thanks,

    Raj

    Tuesday, July 5, 2011 9:25 AM
  •  

    We still see this error after removing the lines, and re-running the pre-upgrade check

    Regards,

    nick

     


    Νικοσ Γιαννιοσ
    Thursday, December 15, 2011 12:09 AM
  • Re-ran check after correctly making the changes and the error was reolved.  Had to keep

     

    <?xml version="1.0" encoding="Windows-1252"?>
    <ObjectCollector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Configuration ConfigName="Windows SharePoint Services 3.0 PreupgradeCheck configuration" ConfigVersion="1.0.0.0">
            <ObjectProcessor Name="Group" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor" />
            <ObjectProcessor Name="Registry" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RegistryObjectProcessor" />
            <ObjectProcessor Name="SQL" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.SQLObjectProcessor" />
            <ObjectProcessor Name="WMI" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.WMIObjectProcessor" />
            <ObjectProcessor Name="WSS" Assembly="stsadm.exe" Class="Microsoft.SharePoint.StsAdmin.SPObjectProcessor" />
        </Configuration>
        <Object Type="WSS" Assembly="Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Display="Hide">
            <Setting Key1="Microsoft.Office.Server.Search.Upgrade.SearchContentSourcesInfo" Key2="Farm">

            </Setting>
        </Object>
        <Object Type="WSS" Assembly="Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Display="Hide">
            <Setting Key1="Microsoft.Office.Server.Search.Upgrade.SearchInfo" Key2="Farm">


            </Setting>
        </Object>
    </ObjectCollector>


    Νικοσ Γιαννιοσ
    Wednesday, December 21, 2011 11:18 PM