首页 > 代码库 > SharePoint 2013 search service 爬网错误诊断三则

SharePoint 2013 search service 爬网错误诊断三则

SharePoint 2013 爬网错误1:

Access is denied.  Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has “Full Read” permissions on the SharePoint Web Application being crawled.


1. 确保用于Crawl的帐号有权限访问要爬网的网站

2. 确保Web服务器上面没有回环,可以用以下命令禁用回环

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name “DisableLoopbackCheck” -Value “1″ -PropertyType dword


SharePoint 2013 爬网错误2:

The item has been truncated in the index because it exceeds the maximum size


以上错误一般是因为爬 网对象(文档等)的大小超过了默认限制 。

可以运行以下命令修改限制:

$ssa = Get-SPEnterpriseSearchServiceApplication
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa -Identity "PublishingPageContentOWSHTML"
$mp.MaxCharactersInPropertyStoreForRetrieval = 2097152
$mp.Update()


SharePoint 2013 爬网错误3:

The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl.


1.  确保爬网对象的URL没有被爬网规则exclude 

2. 确保爬网规则Include 的SharePoint 站点对象时不要选中"Crawl SharePoint content as http pages"




SharePoint 2013 search service 爬网错误诊断三则