About the solution of stack overflow error in ASP

Source: Internet
Author: User
Errors such as "stack Overflow" and similar words occur in the execution of ASP programs.

Symptoms may occur in the source:

Submitting forms, array memory allocations, and variable memory allocations

Error causes:

The default stack in Win2K is only 64K, and an overflow error occurs if the ASP program uses the stack more than this value.

Error Analysis:

When we submit a form, if a field that is submitted exceeds 64K, an overflow error is generated when requesting data with request, regardless of whether the content is directed directly to the database's Recordset object or to a direct variable.

Workaround:

You can use components to accomplish these functions, and using components actually opens up the use of ASP to directly process the data, thereby resolving the overflow problem.
Another convenient way to use the client-side limit of input length, and make the maximum value of the field can not exceed 64K can be avoided.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.