您的位置:首页 > 其它

SharePoint 2010 Search Service: Unable to connect to the search service 的问题处理

2010-12-19 21:58 429 查看
问题:

在SharePoint2010 Central Administration sites上还原Search service application之后, 当执行搜索时,我们看到SharePoint 抛出了以下错误信息:The search request was unable to connect to the Search Service.

原因:

我们去检查一下在Search Service Application下的Search Application proxy, 原来它被没有被恢复成功,这就是我们这次遇到的问题所在了。

因此,我发现当大家在CA去做一个Search service application备份的时候, 务必要确保单独为Search service application proxy 也做一次备份。

默认情况下,在CA去备份搜索服务的操作界面上,只允许你一次只做一个备份,这意味着你必须执行两次备份为

Search Service Application

Search service application proxy

但如果你没有拿到Search service application proxy的备份就已经删除Search Service Application,那么幸运的是,你可以使用PowerShell去重建这个代理服务。

解决方案:

下面的命令会把你想要备份的搜索服务应用程序存入一个变量,它的目的是当我们有多个搜索服务应用程序,定位到我们想要的那个:

$getsearchapp = get-spenterprisesearchserviceapplication "<Name of the Search Service Application>"

这个命令设置了关联这个Search service application的代理服务。

$setproxy = new-spenterprisesearchserviceapplicationproxy -name "Name of the Search Service Application Proxy" -Uri $getsearchapp.uri.absoluteURI

验证搜索服务的状态,它应该被默认在线。

$setproxy.status

如果它不在线,你可以运行下面的命令来改变它到online,

$proxy.status = “online”

Ok, 问题搞定, 如果大家遇到相同问题的话, 希望这个对大家有帮助.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐