全文搜索FTSFacade未经授权发布EPiServer 6 R2

时间:2013-04-29 12:17:27

标签: episerver

我在IIS中使用Windows身份验证,每当我尝试从adminmode运行全文搜索索引作业时,错误日志会给我这个,而全文搜索服务无法构建索引(主文件夹和参考文件夹):

2013-04-29 11:09:00,898 [65] EPiServer.Search.RequestHandler.GetNamedIndexes(:0) - Could not get named indexes for uri 'http://epi.hfabintranetv2/IndexingService/IndexingService.svc/namedindexes/?accesskey=E8308A19-5FC4-484C-8E85-C9987884CD07'. Message: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Search.RequestHandler.MakeHttpRequest(String url, NamedIndexingServiceElement namedIndexingServiceElement, String method, Stream postData, Action`1 responseHandler)
at EPiServer.Search.RequestHandler.GetNamedIndexes(String namedIndexingService)
2013-04-29 11:09:24,462 [64] EPiServer.Search.RequestHandler.SendRequest(:0) - Update batch could not be sent to service uri 'http://epi.hfabintranetv2/IndexingService/IndexingService.svc/update/?accesskey=E8308A19-5FC4-484C-8E85-C9987884CD07'. Message: 'The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Search.RequestHandler.MakeHttpRequest(String url, NamedIndexingServiceElement namedIndexingServiceElement, String method, Stream postData, Action`1 responseHandler)
at EPiServer.Search.RequestHandler.SendRequest(SyndicationFeed feed, String namedIndexingService, Collection`1 ids)'

我注意到在IIS中将“匿名身份验证”设置为“已启用”允许全文搜索服务创建索引(主文件夹和参考文件夹)。有关使用Windows身份验证时不重建索引的原因的任何线索吗?

1 个答案:

答案 0 :(得分:0)

答案是在站点的根文件夹上设置Windows身份验证,然后将.svc文件所在的IndexingService文件夹设置为匿名身份验证。