Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP Stack overflow error --- urgent

Posted on 1998-09-10
10
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

715 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