SharePoint 2013 Error: Unexpected response from server. The status code of response is ‘500’. The status text of response is ‘System.ServiceModel.ServiceActivationException’.
SharePoint 2013 Search returned an error:
Unexpected response from server. The status code of response is ‘500’. The status text of response is ‘System.ServiceModel.ServiceActivationException’.
In Event logs of SharePoint web front ends, it left an event:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/33228940
Exception: System.ServiceModel.ServiceActivationException: The service ‘/_vti_bin/client.svc’ cannot be activated due to an exception during compilation.
Solution:
Either increase the Server Memory or Try closing some running applications in the SharePoint WFEs to free up the memory in the server!
You can also try limiting the memory consumption of various services running on the server. Here are some:
Limit the NodeRunner.exe’s memory (NodeRunner is a SharePoint Search component)
Open the configuration file at “C\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config” Locate the node “nodeRunnerSettings” and set the value for “memoryLimitMegabytes” attribute (Say: 100). By default, its value is 0 (which means unlimited). Once done, restart the SharePoint Search Host Controller process.
Do not limit node runner memory in Production Servers!
It also happens when you try to add/update new items to SharePoint 2013 lists:
Related Posts
Salaudeen Rajack
Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!