Jet Reports Homepage |  Community Forum |  Downloads |  Submit A Ticket |  Jet Express Support
Feedback

iPad App failed connection error: 500 Domain=NSURLErrorDomain


Issue:

When connecting to the Jet Mobile Service from the iPad App you receive an error: 500 Domain=NSURLErrorDomain

 

In the Widows Event Viewer logs the following error is reported:

Memory gates checking failed because the free memory (373817344 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.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InsufficientMemoryException: Memory gates checking failed because the free memory (373817344 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.

 

Resolution:

Open Internet Information Services (IIS) and expand ‘Sites’.

Select your ‘Jet Mobile Service’ site and click ‘Explore’ under the ‘Actions’ pane.

 

 

Make a copy of the ‘Web.config’ file and save it to your desktop.

 

Open the ‘Web.config’ file with Notepad.

At the bottom of the file you will see <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>

 

Modify this as follows:

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" minFreeMemoryPercentageToActivateService="0"/>

 

Save the ‘Web.config’ file.

If the file saves as ‘Web.config.txt’ then enable file extensions in Windows Explorer, remove the ‘.txt’ extension, and accept the warning.

Rename the ‘Web.config’ file in its original directory to ‘Web.config.old’ and accept the warning.

Copy the ‘Web.config’ file from the desktop to the directory which now contains ‘Web.config.old’.

‘Stop’ and ‘Start’ the Jet Mobile Service in IIS.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments