000033890 - Exception occurs accessing the Manage Groups or other Silverlight pages in RSA Archer

Document created by RSA Customer Support Employee on Aug 30, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033890
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.x, 6.x
Platform(Other): Microsoft .NET Framework 4.5.1
IssueTrying to access a Silverlight page like Manage Groups or Manage Users causes an exception with Log Reference Id.
The following is a sample exception from the Archer.w3wp.yyyymmdd.xml log file.
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <ApplicationData>
        <TraceData>
            <DataItem>UserId: ;
LogReferenceId: 082816-192937-4265;
Message: ;
Exception: System.ServiceModel.ServiceActivationException:
The service '/Archer/Services/ArcherTech-Web-Ria-AccessControlRiaService.svc' cannot be activated due to an exception during compilation. 
The exception message is: Memory gates checking failed because the free memory (nnnnnnnnn 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..
---&gt; System.InsufficientMemoryException:
Memory gates checking failed because the free memory (nnnnnnnnn 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&amp; 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.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)</DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>
Cause

  • The Windows server is running low on memory resources.



  • Due to behavior changes in .NET Framework 4.5.1.  An exception is thrown if the available memory on the web server is less than the percentage specified by the minFreeMemoryPercentageToActivateService configuration setting. In the .NET Framework 4.5, this setting was ignored.


Resolution

Reboot the Windows server and attempt to reduce the load on the server 



Alternatively, adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element in the web.config to revert to .NET Framework 4.5 behavior.  To revert to the previous behavior, modify the web.config file as follows:


<serviceHostingEnvironment multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0">
   <serviceActivations>
   ...
   </serviceActivations>
</serviceHostingEnvironment>

Full details regarding to minFreeMemoryPercentageToActiveService Configuration Setting and run time changes in the .NET Framework 4.5.1 can be found in Microsoft website. https://msdn.microsoft.com/en-us/library/dn458357(v=vs.110).aspx

NotesSilverlight will eventually be phased out from Archer, so future versions will not have this issue.

Attachments

    Outcomes