[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Posting a large amount of data to a form causes Stack Overflow

Posted on 2005-04-08
1
Medium Priority
?
219 Views
Last Modified: 2008-01-09
I have this code:

var field_data = String(Request.Form("field_name"));

and when I post a large amount of text to the textarea I get the error:

Request object error 'ASP 0107 : 80004005'
Stack Overflow
/functions.asp, line 60
The data being processed is over the allowed limit.

What's the problem and how can I work around it?
0
Comment
Question by:pedropiedade
1 Comment
 
LVL 9

Accepted Solution

by:
lombardp earned 500 total points
ID: 13734688
This should be a solution to your problem:

http://support.microsoft.com/kb/273482/EN-US/

CAUSE : The size limit of each form field that is retrieved in the Request object is 102,399 bytes. The error occurs when you exceed this limit.

RESOLUTION
To resolve this problem, use one of the following methods:
 • Instead of reading form variable values with the Request.Form collection, use Request.BinaryRead (Request.TotalBytes), and parse the form values from the output of Request.BinaryRead.
 • Use a File Upload scheme, such as Microsoft Posting Acceptor.
 • Break the HTML form variables into multiple form variables before you submit the form. The 102,399 byte limit is for each form variable, so you can have multiple form variables of 102,399 characters or less. The following sample code illustrates this: WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.  

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question