Showing posts with label WCF Service Error. Show all posts
Showing posts with label WCF Service Error. Show all posts

Wednesday, January 4, 2017

Memory gates checking failed because the free memory (xxxxxx bytes) is less than 5% of total memory


When we are trying to execute the WCF Rest service but the service will run properly in the local system but after installing it on to the server it gives the above error
 The solution is simple just set the parameter minFreeMemoryPercentageToActivateService to 0 in the web.config file  
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" minFreeMemoryPercentageToActivateService="0" />
 

Error - (Exception from HRESULT: 0x80070006 (E_HANDLE) cannot load the assembly



When we are trying to run the service and we got the error that it could not load some assembly the solution for that is just restart the IIS and then check it will work. We can also reset the IIS from the command prompt by using the following command run the command prompt in the administrator mode

 

Git Commands

Git Version   To check the git version Git -v       Git Clone To clone the repository, use the following command: Git clone [u...