Solved

ASP Stack overflow error --- urgent

Posted on 1998-09-10
10
209 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
 
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

746 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now