【问题标题】:Sharepoint 2013 Search: Error while crawling LOB contents System.UnauthorizedAcessExceptionSharepoint 2013 搜索:爬取 LOB 内容时出错 System.UnauthorizedAcessException
【发布时间】:2013-08-06 17:59:05
【问题描述】:

我已经为 Sharepoint 2013 的自定义 BCS 索引连接器示例配置并运行了从 MSDN 网站获取的示例代码:

http://code.msdn.microsoft.com/SharePoint-2013-MyFileConne-79d2ea26

在意图爬取期间,爬虫在爬取日志中显示此错误:

myfile://servername/CustomConnectorTest 爬取 LOB 内容时出错。 (异常导致的错误:System.UnauthorizedAccessException 对路径'\servername\CustomConnectorTest\MyFileModel.xml'的访问被拒绝。)

关于我为什么会收到此错误的任何想法?我涵盖了所有显而易见的内容(文件共享/文件夹具有正确的权限,默认内容访问帐户具有正确的权限等)。

【问题讨论】:

    标签: search indexing web-crawler sharepoint-2013


    【解决方案1】:

    想通了:

    您必须确保在 IIS 中运行 Sharepoint(搜索)Web 服务的帐户有权访问存储库。或者,您可以更改管理安全组件的服务帐户。您需要转到:管理中心>安全>配置服务帐户。从那里为“Windows 服务 - SharePoint Server Search”和“Windows 服务 - 搜索主机控制器服务”选择一个可以访问存储库的帐户。如果您没有设置,请单击注册新的托管帐户。 基本上它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-06
      • 1970-01-01
      • 2014-12-25
      • 2014-09-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多