Webhost Failed To Process A Request Sharepoint 2010



I was rebuilding my dev box (VMWare) today and received this error message which I’ve never seen before. The error came from the Event Log of the SharePoint WFE.

2010
  1. WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/2593506 Exception: System.ServiceModel.ServiceActivationException: The service '/vtibin/client.svc' cannot be activated due to an exception during compilation.
  2. WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/31364015 Exception: System.ServiceModel.ServiceActivationException: The service '/vtibin/client.svc' cannot be activated due to an exception during compilation.
  3. Make sure Anonymous authentication provider is enabled in IIS: Open IIS manager, ( Start Run Type: inetmgr) Find your web application in IIS Manager. Open “Authentication” module from body panel. Make sure 'Anonymous Authentication' is enabled. Also repeat the above steps for 'SharePoint Web Services' in IIS.

WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/28106152
Exception: System.ServiceModel.ServiceActivationException: The service ‘/800d9e88a7014cc4929a7460f4f9c110/SearchService.svc’ cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (68489216 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. —> System.InsufficientMemoryException: Memory gates checking failed because the free memory (68489216 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)

Event Category: WebHost Event ID: 3 Date: 8/12/2008 Time: 3:17:27 PM User: NT AUTHORITY NETWORK SERVICE Computer: MYServerName Description: WebHost failed to process a request. Sender Information: System.ServiceModel.Activa tion.Hoste dHttpReque stAsyncRes ult/641208 54 Exception. SharePoint 2010 - General Discussions and Questions https. SYSTEM Computer: local Description: WebHost failed to process a request. Sender Information.

Solution: It was because I had restored one of my snapshot of a VM which was prior to me setting the memory to 12 Gigs with 4 Cores instead in it’s current state it only had 1 Core with 2Gigs. After changing the memory settings in the VM, AutoSPInstaller ran successfully error freee….

Webhost Failed To Process A Request Sharepoint 2010 Pdf

A Developer reported that they are not able to open Visio file in SharePoint site level, they are getting error like “The server failed to process the request”.
Here are the steps that we need to follow to fix this issue:
This solution will work SharePoint 2010,2013 and 2016 as well.
  • Login to the server and verify the Visio service Application is created.
  • To check the same, go to CA>Click on Mange Service Applications
  • Now navigate the page down and verify Visio Graphics Service Application is created and started
  • Also check from Central Administration>System Settings>Mange services on server and checked if the Visio Services were running:


  • Now, we will open SharePoint Management Shell with Admin rights and execute below given command.

Get-SPServiceApplication-DisplayName'{Visio Graphics Service Application}'


Process
  • Now execute below command to find the Service account used for Visio service Application.

Webhost Failed To Process A Request Sharepoint 2010 Email

Get-SPServiceApplicationPool-Name'Visio Graphics Service Application'

  • Now we have Service name and service account name, now we need to get Content Db name for Site and assign the SPdataAccess
  • To get site collection Content DB there is two ways to get the same result, one is from PowerShell command and other one using GUI mode, Executing the command will be easiest way to get Content DB name and SQL server instance name.

Webhost Failed To Process A Request. Sharepoint 2010


Get-SPContentDatabase -site http://contoso.com/sites/test
  • Now login to the SQL server with above server instance name and verify the above given service account is added under SQL security group or not, if it’s not added; add this user
  • Right click on Added user and click on User Mapping option, there will be many db name available identify the Content DB which you got from site collection URL.
  • Now select that db and assign SPDataAccess permission to the same and click on ok.


  • Now go back to the site and open the Visio File and you will get the vision opened on the Page.