Docuware Configuration with Silver Light HttpWebRequest_WebException_RemoteServer errors

Perhaps you have been using Docuware 6.7 or below for some time and had this issue pop up from time to time. The issue is hard to explain as it manifests itself in a number of ways. In my case, you try and open the SettingsIU page and get a confounding error from the server. The explanation points you to a location on Microsoft’s web site.  When you try and follow the Microsoft link it goes nowhere or has useless information. 
What you probably have is a memory issue. 
Silverlight/IIS will not fire up an app unless it knows there is enough memory to handle the program.  Makes sense, why try to load a program if there is not enough memory to handle it.  This is a setting in IIS and you can discover which one it is by simply opening the error message handler on the machine that IIS is running on.  The error will probably read, “WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/45653674 Exception: System.ServiceModel.ServiceActivationException: The service ‘/DocuWare/Settings/SettingsService.svc’ cannot be activated due to an exception during compilation.  The exception message is: Memory gates checking failed because the free memory (170115072 bytes) is less than 5% of total memory. …”Memory issue is you are out of memory according to the rules….so you can change the rules.  Let say you have a really huge memory pool of 100Gig of RAM IIS does not need to set aside 5 Gig just to load and compile application pools so set to read less than 2% of total memory instead.  
Chances are you have a memory leak somewhere or an update that needs to be applied so the easy fix is, reboot the machine……I know I NEVER SAY THAT….but in this case, the Memory Hog could be something that is NOT related to IIS or Docuware and it just needs to go away…….reboot should fix it. 
Now you should have already reset your application pools to reset at Midnight already and if you have not now is a good time to review some of the IIS changes you can make that will benefit Docuware.   Checkout for some hints