Article ID: 309462 - Last Review: June 14, 2002 - Revision: 1.0 PRB: "Entity Too Large" Error Message When You Send Data to a Mobile Device
This article was previously published under Q309462 On This PageSYMPTOMS
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
Requested entity too large
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. MORE INFORMATIONThe third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products. Steps to Reproduce the ProblemThe following steps demonstrate this issue by using the Nokia Mobile Internet Toolkit 3.0 and by sending a large list of data to the emulator. These steps presume that Microsoft Visual Studio .NET, Microsoft Mobile Internet Toolkit, and Nokia Mobile Internet Toolkit 3.0 are installed on your computer.
| Other Resources Other Support Sites
CommunityArticle Translations |






















Back to the top