0

I have configured and run sample code taken from the MSDN website for a custom BCS indexing connector sample for Sharepoint 2013:

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

During it's intent to crawl, the crawler shows this error in the crawl log:

myfile://servername/CustomConnectorTest Error while crawling LOB contents. ( Error caused by exception: System.UnauthorizedAccessException Access to the path '\servername\CustomConnectorTest\MyFileModel.xml' is denied. )

Any ideas on why I'm getting this error? I covered all of the obvious (fileshare/folder has the correct permissions, default content access account has the correct permissions, etc).

4

1 回答 1

3

弄清楚了:

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

于 2013-08-13T15:00:56.347 回答