Невозможно просматривать глобальную навигацию или управлять содержимым и структурой сайта
-
09-12-2019 - |
Вопрос
У меня есть сайт клиента, который прошел миграцию, я заметил, что после миграции невозможно выполнить глобальную навигацию в браузере или использовать Управление содержимым и структурой сайта.У меня есть дамп журналов с идентификатором корреляции, похоже, проблема в том, что сайт закрыт неправильно или что-то в этом роде> эти 2 вещи, похоже, связаны, но не уверен, как отследить, что является их причиной.Это дамп из журналов ULS при запуске функции "обзор сайта" при редактировании структуры навигации.
06/29/2012 17:49:22.08 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://portal:80/academic/eLearningV2/_layouts/AssetPortalBrowser.aspx?&AssetUrl=/academic/eLearningV2/&RootFolder=/academic/eLearningV2/&MDWeb=a23259f4-236e-4a22-a2f5-58e469d68e79&AssetType=Link) a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.08 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.11 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation General 90hv Unexpected Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before. Stack trace: at Microsoft.SharePoint.Navigation.SPHierarchyDataView.Select() at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyDataView.GetUnderlyingViewData() at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyDataView.GetReorderedWebChildNodes() at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyDataView.GetHierarchyNodesForView() at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyDataView.Select() at System.Web.UI.WebControls.TreeView.DataBindNode(TreeNode node) at System.Web.UI.WebControls.TreeView.PerformDataBinding() at Microsoft.SharePoint.WebControls.SPTreeView.PerformDataBinding() at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) at System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e) at Microsoft.SharePoint.WebControls.SPTreeView.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() 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 ASP._layouts_assetportalbrowser_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.12 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (SPTreeView: {Root of tree}). Execution Time=15.4994559364388 a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.15 w3wp.exe (0x1840) 0x16B4 Document Management Server Document Management eua9 Medium Pending update MetadataNavigationHints for Web[4e677ce9-079b-4a77-9ef3-ddf4dccd77b9]List[4d4fbb3b-1f68-46dc-a8f8-4ae3a4393a8d] = 0 (NoSettings) a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.17 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation General 72k8 High Failed to determine the setup path of the list schema for feature {49C93666-8ACF-49BC-9FE1-4083ABB0E238}, list template 101. a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.17 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Runtime tkau Unexpected System.ArgumentException: Feature '49c93666-8acf-49bc-9fe1-4083abb0e238' for list template '101' is not installed in this farm. The operation could not be completed. at Microsoft.SharePoint.SPFeatureManager.<>c__DisplayClass19.<GetFeatureRootAndListSchemaPaths>b__18() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPFeatureManager.GetFeatureRootAndListSchemaPaths(Byte[]& userToken, Guid& tranLockerId, Int32 nZone, Guid databaseid, Guid siteid, Guid webid, Guid featid, Int32 ltid, String& sPathToFeatureRoot, String& sPathToSchemaXml) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetViewsSchemaXml(String bstrUrl, String bstrListName, Boolean bFullBlown, Boolean bNeedInitAllViews, ISP2DSafeArrayWriter p2DWriter, Int32& plDefaultViewIndex, Int32& plMobileDefaultViewIndex) at Microsoft.SharePoint.Library.SPRequest.GetViewsSchemaXml(String bstrUrl, String bstrListName, Boolean bFullBlown, Boolean bNeedInitAllViews, ISP2DSafeArrayWriter p2DWriter, Int32& plDefaultViewIndex, Int32& plMobileDefaultViewIndex) at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews) at Microsoft.SharePoint.SPList.get_Views() at Microsoft.SharePoint.Publishing.CachedList.GetMetadataNavSettingsXmlNoCache(SPList sourceList) at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetMetadataNavSettingsXmlNoCache(SPList sourceList) at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetMetadataNavSettingsXml(SPWeb web, Guid sourceListId, Boolean& listExists) at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationSettings.GetMetadataNavigationSettings(SPWeb web, Guid sourceListId, Boolean checkWebPropHint) at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationContext.GetMetadataNavigationHintsForList(SPWeb web, Guid listGuid) at Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataHierarchyNodeSiteObject.get_HasChildren() at System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand) at System.Web.UI.WebControls.TreeView.PerformDataBinding() at Microsoft.SharePoint.WebControls.SPTreeView.PerformDataBinding() at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) at System.Web.UI.WebControls.TreeView.OnPreRender(EventArgs e) at Microsoft.SharePoint.WebControls.SPTreeView.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.17 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Performance nask High An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {A71A4471-295E-4F1F-8D72-4B1AE91B5F81} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks = true. a066bc12-8a26-4a85-a549-413e11fde76c
06/29/2012 17:49:22.17 w3wp.exe (0x1840) 0x16B4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://portal:80/academic/eLearningV2/_layouts/AssetPortalBrowser.aspx?&AssetUrl=/academic/eLearningV2/&RootFolder=/academic/eLearningV2/&MDWeb=a23259f4-236e-4a22-a2f5-58e469d68e79&AssetType=Link)). Execution Time=95.9538153592146 a066bc12-8a26-4a85-a549-413e11fde76c
Главное, на что я смотрю, это функция 'GUID', которая не установлена в шаблоне сайта 101?
Может быть, stsadm enumallwebs может пролить какой-то свет?
Я нашел этот пост это именно то, что мне нужно сделать, чтобы эти функции были потеряны в процессе.Дело в том, что я на самом деле не могу понять, что такое список нарушителей, кто-нибудь может указать, как отследить список нарушителей, учитывая журналы ULS?
Решение
Как вы обновились?Новый сервер с подключением к базе данных?Похоже, что в вашей старой ферме установлены функции, которых нет в вашей новой ферме.Здесь у вас есть пара вариантов:-
1) Найдите функции в вашей старой ферме, отключите / удалите их, если это возможно, снова подключите базу данных со свежей копией базы данных.
2) Найдите недостающие функции, перенесите их и установите на новую ферму, предполагая, что они совместимы с 2010 годом.
Возможно, вам удастся избежать проблем с переносом папок функций вручную, если для них нет WSP, установив их, это должно устранить ошибки, чтобы вы могли деактивировать функции на сайте.Затем, наконец, удалите функции, добавленные вручную.
Другие советы
Да, скорее всего, в вашем семействе веб-сайтов повреждена функция, обычно это происходит, когда вы удаляете функцию, не деактивируя ее, но я не знаю, что произошло в этом случае.
Лучше всего отозвать функциональное решение из центра администрирования, если вы развернули его с помощью wsp, в противном случае вы можете использовать команду STSADM для принудительной установки функции, это помогало мне много раз.
stsadm.exe -o функция удаления {-имя файла | -имя | -идентификатор} [-принудительно]
или ознакомьтесь с этим инструментом
Ваше здоровье