Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP Stack overflow error --- urgent

Posted on 1998-09-10
10
Medium Priority
?
224 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 560 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

886 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