|
Areas > Languages > VBScript Areas > ASP / ASP.Net > Functions > http Areas > ASP / ASP.Net > File & data transfer Request object error 'ASP 0107 : 80020009' Stack Overflow /post/post.asp, line 0 The data being processed is over the allowed limit.Great message. The ASP limit for FORM data processing (Request.Form) is about 100kB (sometimes 80k, sometimes 105k or similar). You will get the message above if you try to post more data to an ASP page. Grr.... MS says that The size limit of each form field is exactly 102,399 bytes (Q273482, PRB: "Request object, ASP 0107 (0x80004005)" Error When You Post a Form) You can use Huge asp file upload.ASPForm to handle POST
requests. Huge asp file upload.ASPForm contains
hi-performance, low resources consumption algorithm which can accept up to 2GB
of data with multipart (upload) or x-www-form-urlencoded forms. But there is a work around for this terrible 'feature' - we can build our own function, which will read binary data from input (x-www-form-urlencoded data) and then we can split the data to fields and decode to text fields. This article contains ASP include, which does the form processing and decoding. You can use it by the next way:
See alsofor 'Post large form data to ASP - Request.Form and stack overflow error?' article URLDecode functionVBS source code to decode URL encoded strings (reverse to Server.URLEncode)Convert a binary data (BinaryRead) to a string by VBSThis article, demonstrates several versions of source VBS code you can use to work with binary data in ASP and convert the data to a String format. Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/
are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
or
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_largepost/" Title="This article shows a way to work with request.form fields with any size, without 'Stack overflow' error." >Post large form data to ASP - Request.Form and stack overflow error?</A> Do you like it? Rate me on LinkedIn |
© 1996 - 2019 Antonin Foller, Motobit Software | About, Contacts