While troubleshooting your BillQuick Mobile app using the BillQuick Mobile Setup PDF, you might get the following ASP.NET error when visiting the BQOAPI2 url:
Server Error in '/WS20XX/bqoapi2' Application
Memory gates checking failed because the free memory (552513536 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 above error is caused by the server where the web application is installed. The server that the BillQuick Mobile app uses is running out of resources.
#1: Reboot your server and if it still happens, have your IT support staff find the root cause of the server running out of resources.
#2: Follow these steps:
1. Go to the BQOAPI2 folder of your Web Suite installation, typically found here: C:\Program Files (x86)\BillQuick Web Suite\Web Suite 20xx\bqoapi2
2. Find and make a copy of the web.config file.
3. Open Notepad as an Administrator and search the following term:
4. Then add the following highlighted text on the next line:
5. Save the file and close the web.config file.
6. Open a Windows command line as an Administrator and enter the following command: IISRESET.
7. Redo the same test you did on the BQOAPI2 URL when you got the error and if the fix is successful, you will receive the following message: