错误试图在SharePoint 2013进行编辑内容查询Web部件时

问题描述 投票:0回答:3

我有我的发布网站欢迎页面上的CQWP。当我去编辑网页的一部分,我得到一个“对不起,出事了。发生了一个意外的错误。” c6e03d9c-f1be-f0a0-ed33-e826db494520:具有相关ID沿屏幕。有谁知道是什么原因造成的?我已经找遍了,并不能找到一个解决方案。

编辑:我知道想我找到了错误:“用户代理不可用时,文件操作可能无法优化的”我还是真的不知道这意味着什么或做什么。

sharepoint sharepoint-2013
3个回答
0
投票

通过你的日志去,你所得到的错误

   System.ArgumentNullException: Key cannot be null.  Parameter name: key   
 at System.Collections.SortedList.IndexOfKey(Object key)    
 at System.Collections.SortedList.ContainsKey(Object key)    
 at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryToolPart.AppendListTypes(SortedList sortedListItems, SPListTemplateCollection listTypes)    
 at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryToolPart.populateListTypeDropDown()    
 at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryToolPart.populateCBQControls()    
 at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryToolPart.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

确保该列表中的所有项目“名称”列不为空。这是此问题的最可能原因。


0
投票

以上同意,检查日志后,我们发现有一些应该列(一个或多个)是NULL。所以双检是和修改(如有)。


0
投票

你似乎是在这里提到的有同样的问题...

Connect Explanation

只要运行以下命令,它应该修复它...

Disable-SPFeature -Identity "e374875e-06b6-11e0-b0fa-57f5dfd72085" -Url http://sitecollectionurl

希望能帮助到你

© www.soinside.com 2019 - 2024. All rights reserved.