Share via


webHost failed to process a request

Question

Monday, June 11, 2018 4:17 PM

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

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?

All replies (1)

Wednesday, June 13, 2018 9:40 AM

Hi,

 

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

 

The “c0afc5d342c04e1f85fbdbc739a8c521” is the Alias of the Application.

 

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

 

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.

 

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

 

 

Best regards,

Ethan Liu

Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.