我知道这是一个常见问题。重启托管元数据服务、UserProfile 服务和 UserProfileSync 服务即可解决。(因此 SharePoint 可以在 IIS 中重新创建终结点侦听器)
WebHost 未能处理请求。发件人信息:System.ServiceModel.Activation.HostedHttpRequestAsyncResult/8465037 异常:System.Web.HttpException (0x80004005):服务“/94af0fd5ed3c4bfbba3db7dd7cc66fbc/ProfileService.svc”不存在。---> System.ServiceModel.EndpointNotFoundException:服务“/94af0fd5ed3c4bfbba3db7dd7cc66fbc/ProfileService.svc”不存在。在 System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) 在 System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) 在 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest() 在 System.ServiceModel.Activation .
但在我们的案例(SharePoint 2013,SP1)中,我们只为 AD 导入激活了 UserProfile 服务。我们不需要同步服务处于活动状态。所以我不能以“正常”的方式解决这个问题。
我的 UP 听众如下:
PS C:\Windows\system32> $upa.Endpoints|%{Write-Host $_.ListenUris;}
http://xxxx:32843/94af0fd5ed3c4bfbba3db7dd7cc66fbc/ProfileService.svc https://xxxx:32844/94af0fd5ed3c4bfbba3db7dd7cc66fbc/ProfileService.svc
如我们所知,问题的根本原因是 WebService IIS 根文件夹中缺少“ProfileService.svc”文件。但此文件仅在 UPS 处于活动状态时创建。那么如何在我的环境中解决此错误?我如何彻底删除这些端点?有什么建议么?
非常感谢您的回复!
亲切的问候,
SharePoint_Dude