PRB: "Entity Too Large" Error Message When You Send Data to a Mobile Device (309462)
The information in this article applies to:
- Microsoft Mobile Internet Toolkit (MMIT)
This article was previously published under Q309462 SYMPTOMS
Mobile Web Forms controls provide a mechanism for automatically displaying large groups of content in smaller "pages." This functionality is called pagination. When you send large amounts of data to a mobile device, it is recommended that you enable pagination on a form by setting Paginate=true on the mobile:Form tag.
Some devices do not contain enough memory to display large amounts of data, and as a result, you may receive an error message when pagination is not enabled on a mobile Web Form.
Specifically, you may receive the following error message when you use the Nokia WAP Toolkit 2.1:
Http Error - Entity Too Large
And you may receive the following error message when you use the Nokia Mobile Internet Toolkit 3.0:
Requested entity too large
Some devices or emulators may not generate an error message, but instead become slow to respond when you scroll the large list that is returned. Other devices may not be able to function until they are reset.
CAUSE
This behavior can occur if pagination is not enabled.
RESOLUTION
To resolve this issue, enable pagination.
The pagination feature is based on a weighting system. Each control on a mobile Web Form is assigned a unit value. The unit value of all the controls on the page is compared against the OptimumPageWeight property to determine where to divide the page to prevent memory errors. You can configure the OptimumPageWeight property to increase or decrease the weight that a device can support. Configure the OptimumPageWeight property in the section of the Machine.Config file that is used to identify mobile devices.
Modification Type: | Major | Last Reviewed: | 6/14/2002 |
---|
Keywords: | kbCHTMLDevice kbDeviceSpecific kberrmsg kbprb kbServerControls kbWebForms kbWMLDevice KB309462 |
---|
|