Server Error in '/ERPMWebService' Application


Revision: 1.1

Affected Products

  • Enterprise Random Password Manager Web Service, v4.83.7 and later.
  • RED Identity Management Web Service


When using any application component that accesses the web service, such as the web application or PowerShell cmdlets, you receive errors similar to this:

  • Server Error 500
  • HTTP/1.1 500 System.ServiceModel.ServiceActivationException
  • The requested service, 'https://servername/erpmwebservice/authservice.svc' could not be activated. See the server's diagnostic trace logs for more information.

And when accessing the web service directly through a browser, receive an error similar to the one shown below:

Memory gates checking failed because the free memory (102572032 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.


The web service will not allow a new activation when the available memory resources are less than 5% of the allocated resources. This design helps to ensure the availability of the host.


The primary solution is to add more RAM. Minimum recommendations for a host system's RAM start at 2GB of RAM for the operating system + 2GB of RAM for each Lieberman application running on the system + RAM requirements for other programs running on the system.

If the system has been running well "until today", examine other updates or programs or processes running on the system. You can use Windows Task Manager to help find the programs using memory.

Once the memory condition has been cleared, the web service will begin functioning as expected.


Was this article helpful?
0 out of 0 found this helpful


Powered by Zendesk