webHost无法处理请求 [英] webHost failed to process a request

查看:422
本文介绍了webHost无法处理请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我今天早上在SharePoint 2016中发现以下错误,没有人可以访问SharePoint站点:$ b​​ $ b

I found the following error this morning in my SharePoint 2016, nobody can access SharePoint site:


webHost无法处理请求。发件人信息:System.ServiceModel.ServiceHostingEnvironment + HostingManager / 22413463异常:System.ServiceModel.ServiceActivationException:由于编译期间的异常,服务'/c0afc5d342c04e1f85fbdbc739a8c521/SearchService.svc'不能激活
。异常消息是:服务器场不可用.. ---> System.InvalidOperationException:服务器场不可用。 Microsoft.Affice.Server.Search.Administration.SearchServiceHostFactory.CreateServiceHost(String constructorString)中的Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local()
at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost,SPServiceAuthenticationMode authenticationMode)系统中的System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath,EventTraceActivity eventTraceActivity),系统上的System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo
serviceActivationInfo,EventTraceActivity eventTraceActivity)中的,Uri []
baseAddresses) .ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath,EventTraceActivity eventTraceActivity)---内部异常堆栈跟踪结束
--- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalized System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast上的VirtualPath,EventTraceActivity eventTraceActivity)(String relativeVirtualPath,
EventTraceActivity eventTraceActivity)进程名称:w3wp进程ID:5412

webHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/22413463 Exception: System.ServiceModel.ServiceActivationException: The service '/c0afc5d342c04e1f85fbdbc739a8c521/SearchService.svc' cannot be activated due to an exception during compilation. The exception message is: The farm is unavailable.. ---> System.InvalidOperationException: The farm is unavailable. at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceManager.get_Local() at Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode) at Microsoft.Office.Server.Search.Administration.SearchServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity) Process Name: w3wp Process ID: 5412


我已经检查了应用程序池中的安全令牌服务,所有配置似乎都没问题。有人可以帮忙吗?

I have already checked the security token service in the application pools and all configurations seem fine. can anyone please help?

推荐答案

Hi,

 

据我所知,没有名称为"c0afc5d342c04e1f85fbdbc739a8c521"的游泳池。

I understand that there was no pool by name of "c0afc5d342c04e1f85fbdbc739a8c521".

 

"c0afc5d342c04e1f85fbdbc739a8c521"是应用程序的别名。

The "c0afc5d342c04e1f85fbdbc739a8c521" is the Alias of the Application.

 

您需要打开IIS管理器,  
访问"网站"部分,然后选择"SharePoint Web服务"部分,然后您可以找到"c0afc5d342c04e1f85fbdbc739a8c521"。

You need to open IIS Manager,   access the "Site" section, then select the "SharePoint Web Services" section, then you can find "c0afc5d342c04e1f85fbdbc739a8c521".

 

我建议你确保你有权访问"SearchService.svc"。你可以点击右侧的"编辑权限"来查看权限。

I recommend to make sure you have permission to access the "SearchService.svc". You can click "Edit Permissions" in the right side to check permission.

 

此外,请单击"基本设置"以查找相应的应用程序池,然后禁用对应用程序池的32位支持。

In addition, please click "Basic Setting" to find the corresponding Application pool, and then disable 32-bit support for the application pool.

 

 

祝你好运,

Ethan Liu

Ethan Liu


这篇关于webHost无法处理请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆