473,382 Members | 1,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Uploading Large Files

I'm using a pure ASP upload script to handle file uploading. We run IIS6 and
I'm aware of the AspMaxRequestEntityAllowed variable in the metabase. I upped
this to allow the file size maximum and it was working for the past couple
months. Now all of a sudden in the past couple of days we are seeming to have
problems.

The upload works fine for anything up to around 2mb (or so it seems).

When uploading about 20mb worth (10x2mb files), I get the following error
(thrown from firefox). I tried changing Response.Expires,
Server.ScriptTimeout, and the connection timeout setting for the website in
IIS.

Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try
again.

When uploading about 2-10mb worth of files, I get an error thrown by ASP.
The error typically just means that AspMaxRequestEntityAllowed needs to be
increased, but since I've already increased it as high as it can go, I'm
really confused.

Request object error 'ASP 0101 : 80004005'
Unexpected error
/scripts/update/ShadowUploader.asp, line 58
The function returned |.

Line 58: strBinData = Request.BinaryRead(iBytesCount)
Jul 7 '08 #1
10 8009
" it was working for the past couple months."
If the code was working before, and no code changes have been made, then the problem must be something other than the code.


Jul 7 '08 #2
My thoughts exactly. I didn't necessarily say it was something in the code I
needed to fix. I'm looking for suggestions on anything that could be wrong.
Jul 7 '08 #3
http://classicasp.aspfaq.com/general...01-errors.html

"Dan" <Da*@discussions.microsoft.comwrote in message news:D2**********************************@microsof t.com...
My thoughts exactly. I didn't necessarily say it was something in the code I
needed to fix. I'm looking for suggestions on anything that could be wrong.

Jul 7 '08 #4
I've already read that article, and many others I searched for off of Google.
I only ask for help when I can't already find it somewhere else.

I'm not using a component - this is a pure ASP file upload.

"Jon Paal [MSMD]" wrote:
http://classicasp.aspfaq.com/general...01-errors.html

"Dan" <Da*@discussions.microsoft.comwrote in message news:D2**********************************@microsof t.com...
My thoughts exactly. I didn't necessarily say it was something in the code I
needed to fix. I'm looking for suggestions on anything that could be wrong.


Jul 7 '08 #5

since the error message is coming from the request object, you're going to have to some debugging by testing uploads of different
types and sizes to better isolate and establish a repeatable cause of the error source.

Your previous testing of 2-10mb file sizes is a wide range, if the error is not consistently happening above one size perhaps it is
the type. otherwsie youi're faced with chasing the problem outside of ASP which is dependent on iis, memory etc.



"Dan" <Da*@discussions.microsoft.comwrote in message news:B3**********************************@microsof t.com...
I've already read that article, and many others I searched for off of Google.
I only ask for help when I can't already find it somewhere else.

I'm not using a component - this is a pure ASP file upload.

"Jon Paal [MSMD]" wrote:
>http://classicasp.aspfaq.com/general...01-errors.html

"Dan" <Da*@discussions.microsoft.comwrote in message news:D2**********************************@microsof t.com...
My thoughts exactly. I didn't necessarily say it was something in the code I
needed to fix. I'm looking for suggestions on anything that could be wrong.



Jul 8 '08 #6
I'm pretty well sure it's anything above ~6mb, which is just an odd figure,
since I have no limits set.

"Jon Paal [MSMD]" wrote:
>
since the error message is coming from the request object, you're going to have to some debugging by testing uploads of different
types and sizes to better isolate and establish a repeatable cause of the error source.

Your previous testing of 2-10mb file sizes is a wide range, if the error is not consistently happening above one size perhaps it is
the type. otherwsie youi're faced with chasing the problem outside of ASP which is dependent on iis, memory etc.



"Dan" <Da*@discussions.microsoft.comwrote in message news:B3**********************************@microsof t.com...
I've already read that article, and many others I searched for off of Google.
I only ask for help when I can't already find it somewhere else.

I'm not using a component - this is a pure ASP file upload.

"Jon Paal [MSMD]" wrote:
http://classicasp.aspfaq.com/general...01-errors.html

"Dan" <Da*@discussions.microsoft.comwrote in message news:D2**********************************@microsof t.com...
My thoughts exactly. I didn't necessarily say it was something in the code I
needed to fix. I'm looking for suggestions on anything that could be wrong.


Jul 8 '08 #7
you may also want to try another component. if another works then you have a solution.

personally, for uploads and especially when they get large, I fall back to ASP.net because uploading is one of the few things
classic ASP just can't offer well by itself. Another option is a third party, registered component, which is a good alternative as
most webhosts have these freely available.
Jul 8 '08 #8
I'm using a pure ASP upload script. I've tried 3 other ones, all get the
same error. I also just used a third party upload component and got the same
error. I may look into ASP.NET, but only as a last resort. There must be a
solution to this, since it was working before :\

Thanks for taking the time to troubleshoot with me though.

"Jon Paal [MSMD]" wrote:
you may also want to try another component. if another works then you have a solution.

personally, for uploads and especially when they get large, I fall back to ASP.net because uploading is one of the few things
classic ASP just can't offer well by itself. Another option is a third party, registered component, which is a good alternative as
most webhosts have these freely available.
Jul 8 '08 #9
"Dan" <Da*@discussions.microsoft.comwrote in message
news:B7**********************************@microsof t.com...
I'm using a pure ASP upload script to handle file uploading. We run IIS6
and
I'm aware of the AspMaxRequestEntityAllowed variable in the metabase. I
upped
this to allow the file size maximum and it was working for the past couple
months. Now all of a sudden in the past couple of days we are seeming to
have
problems.

The upload works fine for anything up to around 2mb (or so it seems).

When uploading about 20mb worth (10x2mb files), I get the following error
(thrown from firefox). I tried changing Response.Expires,
Server.ScriptTimeout, and the connection timeout setting for the website
in
IIS.

Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please
try
again.

When uploading about 2-10mb worth of files, I get an error thrown by ASP.
The error typically just means that AspMaxRequestEntityAllowed needs to be
increased, but since I've already increased it as high as it can go, I'm
really confused.

Request object error 'ASP 0101 : 80004005'
Unexpected error
/scripts/update/ShadowUploader.asp, line 58
The function returned |.

Line 58: strBinData = Request.BinaryRead(iBytesCount)
My guess is that iBytesCount is not a chunk size but the total size right.
IOW, you are not chunking the data in but trying to read the whole lot in a
single buffer. OR am I wrong?

--
Anthony Jones - MVP ASP/ASP.NET
Jul 8 '08 #10
Dan wrote:
When uploading about 20mb worth (10x2mb files), I get the following
error (thrown from firefox). I tried changing Response.Expires,
Server.ScriptTimeout, and the connection timeout setting for the
website in IIS.
Is Firefox the only affected browser?
Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection.
Please try again.

When uploading about 2-10mb worth of files, I get an error thrown by
ASP. The error typically just means that AspMaxRequestEntityAllowed
needs to be increased, but since I've already increased it as high as
it can go, I'm really confused.
Is there any chance this server is behind a proxy (reverse or otherwise)?
Can you duplicate this behavior on the server itself (by logging into the
server and using the web client on the machine to upload a large file)?

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jul 9 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marc | last post by:
Hello, I have a page where i can upload binary file (using the HTML input type=file approach). This works fine for relatively small files (<6MB)) but when files get bigger (13MB) there is a...
9
by: Markus Ernst | last post by:
Hi For a CMS admin tool I would like to provide a possibility to upload large files to a directory on the webserver. As HTTP uploads are limited in file size and also not comfortable in...
6
by: Chamomile | last post by:
can anyone point me to some straightforward information on file uploading without using an html form? That is, direcly from within a php script. if I know the local path etc. to a particular...
3
by: deko | last post by:
Newbie ASP.NET question: Now that I've created an ASP.NET site, how to I get it to my hosting provider? I've developed sites with Dreamweaver MX in the past - with Dreamweaver, it's very...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
1
by: David | last post by:
Hello. I can't upload large file with HtmlInputFile control:( Is there any file size limitation in HtmlInputFile control? If yes how can I upload to server large size file? Than you.
2
by: WSE with SSL and large amount of data | last post by:
Hi there, What's the better strategy for uploading large files trough webservices? I can use Dime/WS-Attachments but for files with over 5MB in size, maybe I got some timeout/refuse problems in...
1
by: Steven Berkovitz | last post by:
Hi there, I am having a problem with an ASP.NET 1.1 application running on II6. When uploading large files, the attempt seems to timeout (in the form of a IE DNS error) after about a minute...
7
by: Lad | last post by:
If a user will upload large files via FTP protocol, must the user have an FTP client on his computer or is it possible to use a similar way to "http form" comunication? Or is there another way(...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.