我有一个非常具体的错误,我无法解决。该站点已从SP2010迁移到SP2013,并且具有本地/搜索中心。该站点需要启用匿名用户,但在启用后,搜索对匿名用户无效,仅对经过身份验证的用户有效。
例如,这是一个带有搜索框的页面,会导致错误。
在ULS日志中,错误与堆栈跟踪中的以下方法有关:
Microsoft.SharePoint.Publishing.CachedArea.CreateResultSetFromSuperUserAndSuperReader(StringCollection superReaderItemIDs,StringCollection superUserItemIDs,Dictionary 2 cachedObjects, SPWeb contextWeb, SPQuery query, List
1 fieldrefs,CachedObjectFactory objectFactory)
在Microsoft.SharePoint.Publishing.CachedArea.GetChildForListByQuery(String listName,SPQuery query,SPWeb contextWeb,Boolean onlyPopulateCache,Boolean skipIfThrottled,List`1& itemsFetched)
在Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetCachedListItemsByQuery(PortalWebSiteMapNode webNode,String listName,SPQuery query,SPWeb contextWeb)
在Microsoft.SharePoint.Portal.WebControls.ObjectCacheDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments)
在Microsoft.SharePoint.Portal.WebControls.ObjectCacheDataSourceView.Select(DataSourceSelectArguments参数)
我尝试将superuseraccount和superreaderaccount添加到Web应用程序(它已丢失)并执行IISRESET。我还向帐户明确许可了帐户并重新抓取了帐户。这些都没有解决问题。
我必须关闭匿名访问,直到我能解决这个问题。有没有人遇到类似的问题?
这可能是实际搜索页面上的问题吗?