Solved

ASP Stack overflow error --- urgent

Posted on 1998-09-10
10
215 Views
Last Modified: 2013-12-25
I've got an ASP script getting data from a form and posting
it to the next one.

Now, according to ASP documentation the maximum number of
characters you can send over is 2 billion.

It will be needed to send strings over which are about 70/80k,
but it has problems with anything greater than 64k.

I receive the next error message:

------------------------------------------------------
Request object error 'ASP 0107'
Stack Overflow
/y2k/sendy2kxldata.asp, line 29
The data being processed is over the allowed limit.
------------------------------------------------------

The actual line which is causing this is:
Response.write(Request.form("xldata"))

I really do need to send over 70+k lines though,
so if someone could help me on this one, I'd
be most grateful

Tom
0
Comment
Question by:binkzz
  • 5
  • 5
10 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854919
why not post the information to a database and then read it from there... Kind of tedious, but it would at least work.  Or, you could take the informatio nand using the FileSystemObject, write the text to a file and the on your next page, read it from the file... Just pass the randomly created filename to the next page...

0
 
LVL 4

Author Comment

by:binkzz
ID: 1854920
I've tried creating files, but it won't write to it, as
'the string is too big'.

You can't do anything with the actual data because it's too big.
Including writing it to database/screen. You can't even retrieve
the first character(s) of the string.

Tom
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854921
You will have to create an ActiveX component or just make the string smaller.   No other way around it...  

Make the ActiveX Component a textbox or Richtext box that can handle larger strings...

0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 4

Author Comment

by:binkzz
ID: 1854922
Sounds plausible enough.. Any idea of where I can get such a
component for an extra couple of points, or will I have to
make one myself?

Tom
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854923
Good question... I know of no components for this... Maybe some other experts know somwhere you can get one.  I have never tried to create ActiveX components... I am more of an HTML ASP guy, not so much programming as I used to be, so sorry... But, I will check around and see if I can find one...

0
 
LVL 4

Author Comment

by:binkzz
ID: 1854924
Well, if you can actually answer this question by giving me a
solution to it in ASP, i'll higher the points to 150 (that's
all I've got I'm affraid) and I'll give you a proper A ;)

Tom
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1854925
I will certainly try...

0
 
LVL 4

Author Comment

by:binkzz
ID: 1854926
definetely appreciated...
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 140 total points
ID: 1854927
0
 
LVL 4

Author Comment

by:binkzz
ID: 1854928
Cheers, only problem is I can't actually install these files, but
will make my own one instead.

Thanks! :)

Tom

(sorry, 145 is all i have)
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Divi Them Help with Full Width header 20 95
The Best Website Creation Tools 14 73
Code Manager | Snippits 2 36
Adding items to a C# list incrementally 5 30
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

839 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