Updated: Mar 18, 2019
In this article you will see how to resolve "Error: The requested service, AppMng.svc could not be activated "in SharePoint 2013.
I created a SharePoint 2013 workflow using Designer and when I tried to publish the workflow I was getting the following error:
Errors were found when compiling the workflow. The workflow files were saved but could not be run.
System.ServiceModel.ServiceActivationException: The requested service, 'http://c4968397007:32843/3f55c3a546d64f248e96b71033e50b5b/AppMng.svc' could not be activated. See the server's diagnostic trace logs for more information.
This is because there is not enough space to start the service. Note that the "SharePoint Search Host Service" consumes a lot of memory.
I went to services.msc and restarted "SharePoint Search Host Service". My workflow was published successfully. Ensure the service is started because if the SharePoint Search Host Controller windows service is stopped then the Search Components running on that server will not function until it's restarted.
Thus in this article you have seen how to resolve the issue "Error: The requested service, AppMng.svc could not be activated "in SharePoint 2013.