Solved

ASP Stack overflow error --- urgent

Posted on 1998-09-10
10
216 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
Technology Partners: 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 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Installer 5 46
easy to understand video about affiliated marketing for a beginner 3 50
PHP Curl to output a url 7 80
Website Question - New Site 3 30
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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.

685 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