Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Search Sharepoint 2013搜索:爬网LOB内容系统时出错。UnauthorizedAcseException_Search_Indexing_Web Crawler_Sharepoint 2013 - Fatal编程技术网

Search Sharepoint 2013搜索:爬网LOB内容系统时出错。UnauthorizedAcseException

Search Sharepoint 2013搜索:爬网LOB内容系统时出错。UnauthorizedAcseException,search,indexing,web-crawler,sharepoint-2013,Search,Indexing,Web Crawler,Sharepoint 2013,我已为Sharepoint 2013的自定义BCS索引连接器示例配置并运行取自MSDN网站的示例代码: 在打算爬网期间,爬网程序在爬网日志中显示此错误: myfile://servername/CustomConnectorTest 爬网LOB内容时出错。(异常导致的错误:System.UnauthorizedAccessException对路径“\servername\CustomConnectorTest\MyFileModel.xml”的访问被拒绝。) 你知道我为什么会犯这个错误吗?我讨

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

在打算爬网期间,爬网程序在爬网日志中显示此错误:

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

你知道我为什么会犯这个错误吗?我讨论了所有显而易见的问题(fileshare/folder拥有正确的权限,default content access帐户拥有正确的权限,等等)。

找到了答案:

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

找到了答案:

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