Friday, 7 February 2014

NAV Web Client - Communication with the Server Failed Error

ERROR Message:

I have installed NAV2013R2 version and RTC working perfectly but when I run the web client, I am getting standard Cronus message and when I click OK, I am getting below error message
---------------------------
Message from webpage
---------------------------
Communicatie met de server is mislukt. De inhoud kan niet worden weergegeven. Vernieuw de pagina of open een nieuw browservenster.
---------------------------
OK  
---------------------------

Sorry, it’s in Dutch.

If I translate it using http://translate.google.com/

---------------------------
Message from webpage
---------------------------
Communication with the server failed. The content can not be displayed. Refresh the page or open a new browser window.
---------------------------
OK
---------------------------

More details from Event Viewer are:

Error      7-2-2014 06:14:50            System.ServiceModel 4.0.0.0       3             WebHost             "WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/20974680
 Exception: System.ServiceModel.ServiceActivationException: The service '/DynamicsNAV71/WebClient/Services/CallbackService.svc' cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (631484416 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 (631484416 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)
   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(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: 11720"

Cause:
Insufficient memory for application/Web client. An application or a process takes up a large chunk of the memory.

Opened Task manager and noticed that Memory used is 94% L.

Resolution:
Stopped some services and applications (Now the memory used is 88%)
Run web client again.


It started working without any error J


No comments:

Post a Comment