Upgrade Error - [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR]

質問 Upgrade Error - [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR]

  • 2012年5月5日 1:55
     
     

    Our 2010 servers are always in a state of upgrade available.  I noticed that our upgrade logs are compaining about the V2VRecordCenter but I have not been able to find much on this.  Any help is appreciated.

     [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR] [4/21/2012 4:51:27 PM]: Failed to run V2VRecordCenterUpgradeSiteAction.Upgrade for SPWeb (https://sharepoint.domain.edu/sites/Records), the following error occured:The specified class is not a valid router. at:   at Microsoft.Office.RecordsManagement.RecordsRepository.Router.Init(String strName, String strAssembly, String strClass)
       at Microsoft.Office.RecordsManagement.RecordsRepository.Router.GetRouterCollection(SPList list)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.CopyCustomRouters(SPList sourceList, SPList destinationList)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.UpgradeWeb(SPWeb web)
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR] [4/21/2012 4:51:27 PM]: SiteAction: UpgradeWeb failed for web: 'https://sharepoint.domain.edu/sites/Records'
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR] [4/21/2012 4:51:27 PM]: Exception: The specified class is not a valid router.
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [ERROR] [4/21/2012 4:51:27 PM]:    at Microsoft.Office.RecordsManagement.RecordsRepository.Router.Init(String strName, String strAssembly, String strClass)
       at Microsoft.Office.RecordsManagement.RecordsRepository.Router.GetRouterCollection(SPList list)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.CopyCustomRouters(SPList sourceList, SPList destinationList)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.UpgradeWeb(SPWeb web)
       at Microsoft.Office.Server.Upgrade.SiteAction.Upgrade()
    [OWSTIMER] [DlcSiteSequence] [ERROR] [4/21/2012 4:51:27 PM]: Action 13.0.2.0 of Microsoft.Office.Server.DLC.Upgrade.DlcSiteSequence failed.
    [OWSTIMER] [DlcSiteSequence] [ERROR] [4/21/2012 4:51:27 PM]: Exception: The specified class is not a valid router.
    [OWSTIMER] [DlcSiteSequence] [ERROR] [4/21/2012 4:51:27 PM]:    at Microsoft.Office.RecordsManagement.RecordsRepository.Router.Init(String strName, String strAssembly, String strClass)
       at Microsoft.Office.RecordsManagement.RecordsRepository.Router.GetRouterCollection(SPList list)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.CopyCustomRouters(SPList sourceList, SPList destinationList)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.UpgradeWeb(SPWeb web)
       at Microsoft.Office.Server.Upgrade.SiteAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: Begin Rollback()
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: End Rollback()
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: Begin Dispose()
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: End Dispose()
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: SQL Query Count=21
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: SPRequest Objects=5
    [OWSTIMER] [V2VRecordCenterUpgradeSiteAction (13.0.2.0)] [DEBUG] [4/21/2012 4:51:27 PM]: Execution Time=451.755181175261
    [OWSTIMER] [SPUpgradeSession] [ERROR] [4/21/2012 4:51:27 PM]: Upgrade [SPSite Url=https://sharepoint.domain.edu/sites/Records] failed. Microsoft.Office.Server.DLC.Upgrade.DlcSiteSequence has the ContinueOnFailiure bit set. Moving on to the next object in sequence.
    [OWSTIMER] [SPUpgradeSession] [ERROR] [4/21/2012 4:51:27 PM]: Inner Exception: The specified class is not a valid router.
    [OWSTIMER] [SPUpgradeSession] [ERROR] [4/21/2012 4:51:27 PM]:    at Microsoft.Office.RecordsManagement.RecordsRepository.Router.Init(String strName, String strAssembly, String strClass)
       at Microsoft.Office.RecordsManagement.RecordsRepository.Router.GetRouterCollection(SPList list)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.CopyCustomRouters(SPList sourceList, SPList destinationList)
       at Microsoft.Office.Server.DLC.Upgrade.V2VRecordCenterUpgradeSiteAction.UpgradeWeb(SPWeb web)
       at Microsoft.Office.Server.Upgrade.SiteAction.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    [OWSTIMER] [SPUpgradeSession] [ERROR] [4/21/2012 4:51:27 PM]: Exception: Action 13.0.2.0 of Microsoft.Office.Server.DLC.Upgrade.DlcSiteSequence failed.
    [OWSTIMER] [SPUpgradeSession] [ERROR] [4/21/2012 4:51:27 PM]:    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
       at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)

すべての返信

  • 2012年5月5日 8:49
     
     

    Solution for this exact issue has been discussed at http://social.technet.microsoft.com/Forums/en/sharepoint2010setup/thread/ec845020-5562-472e-b593-242e315e8206.

    Can you check that?


    -Sangeetha

  • 2012年5月5日 18:51
     
     

    From what I can tell, my issue is with a Custom Router that a consultant created for us.  In the end we never utilized the functionality they created but at the same time I cannot figure out how to get rid of the custom router.  I found the following which shows how to remove a custom router but I get an error running the command when I place my url and router name in.

    PS G:\> C:\removerout.ps1

    GAC    Version        Location
    ---    -------        --------
    True   v2.0.50727     C:\Windows\assembly\GAC_MSIL\Microsoft.SharePoint\14.0...
    True   v2.0.50727     C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Policy\1...
    Exception calling "RemoveRouter" with "1" argument(s): "Operation is not valid
    due to the current state of the object."
    At C:\removerout.ps1:10 char:31
    + $seriesCollection.RemoveRouter <<<< ($routerName)
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException

    System.Reflection.Assembly]::Load("Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, `
    PublicKeyToken=71e9bce111e9429c")
    [System.Reflection.Assembly]::Load("Microsoft.Office.Policy, Version=12.0.0.0, Culture=neutral, `
    PublicKeyToken=71e9bce111e9429c")

    $url = "http://mossrtmvpc/records"
    $routerName = "MetadataRouter"

    $site = [Microsoft.SharePoint.SPSite]($url)
    $web = $site.OpenWeb()
    $seriesCollection = `
    [Microsoft.Office.RecordsManagement.RecordsRepository.RecordSeriesCollection]($web)
    $seriesCollection.RemoveRouter($routerName)

  • 2012年6月16日 1:26
     
      コードあり

    Not sure if you're still stuck, but you can fix this issue with some code. The custom router is stored on a property of the list, so clearing out the property will solve the problem. Here is the code that fixed it for me:

     static void RemoveRouter()
            {
                using (SPSite site = new SPSite("http://site"))
                {
                    SPWeb web = (site.AllWebs["records"]);
                    SPList list = web.Lists["Record Routing"];
     
                    SPFolder folder = PropertiesFolderFromList(list);
                    Hashtable properties = folder.Properties;
                    properties.Remove("_OfficialFileRouterInformation");
                    folder.Update();
     
                }
            }
     
            private static SPFolder PropertiesFolderFromList(SPList list)
            {
                list.Lists.IncludeRootFolder = true;
                return list.RootFolder;
            }