Hello,
I am attempting to upgrade SP2010 content databases by attaching them to SP2013. I plan to upgrade them and then move them to SP2016, and then SP2019 for on-prem archival. Right now, I am unable to upgrade the database to SP2016 because sites are still stuck in the SP2010 experience. When attempting to navigate to a site in the affected database, I get the below errors in the ULS log.
01/17/2022 17:59:47.78 w3wp.exe (0x127C) 0x14D4 Web Content Management Publishing 8vzd High PortalSiteMapProvider was unable to fetch root node, request URL: /sites/example/default.aspx, message: Method not found: 'Boolean Microsoft.SharePoint.Utilities.SPUtility.SafeForDataBinding(System.Reflection.Assembly, System.Reflection.Assembly, System.String)'., stack trace: at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_CurrentSite() at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetObjectFactoryIfCached() at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.get_TryGetRootNode() ecb517a0-e587-f0e0-f063-636d433bdbae
01/17/2022 17:59:47.78 w3wp.exe (0x127C) 0x14D4 SharePoint Foundation General 8nca Medium Application error when access /sites/example/default.aspx, Error=The DataSourceID of 'TopNavigationMenuV4' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found. at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.ConnectToHierarchicalDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ecb517a0-e587-f0e0-f063-636d433bdbae
01/17/2022 17:59:47.78 w3wp.exe (0x127C) 0x14D4 SharePoint Foundation Runtime tkau Unexpected System.Web.HttpException: The DataSourceID of 'TopNavigationMenuV4' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found. at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.ConnectToHierarchicalDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ecb517a0-e587-f0e0-f063-636d433bdbae
01/17/2022 17:59:47.78 w3wp.exe (0x127C) 0x14D4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x80004005): The DataSourceID of 'TopNavigationMenuV4' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'topSiteMap' could not be found. at System.Web.UI.WebControls.HierarchicalDataBoundControl.GetDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.ConnectToHierarchicalDataSource() at System.Web.UI.WebControls.HierarchicalDataBoundControl.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ecb517a0-e587-f0e0-f063-636d433bdbae
01/17/2022 17:59:47.78 w3wp.exe (0x127C) 0x14D4 SharePoint Foundation General aat87 Monitorable An unexpected error has occurred. ecb517a0-e587-f0e0-f063-636d433bdbae
I have two questions:
1: How can I fix this error and get the site to load?
2: Is there a way to upgrade the site from compatibility level 14 to compatibility level 15 using PowerShell instead of navigating to the site settings page and manually performing the upgrade? I have about 1500 sites that this will need to happen on so a PowerShell option would be preferable.
Thank you very much!