473,322 Members | 1,540 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,322 software developers and data experts.

Problem with upload

I have a web application that allows uploads. Sometimes on uploads, the IE
Progress bar will fill up all the way and then display "Page cannot be
displayed", not a 500 error, just a standard cannot find dns page. This
problem happens on different size files. I have gotten 1 MB files to work
and 10 MB files to work. But sometimes 2 MB files will not work. I have
this in the web.config

<httpRuntime executionTimeout="54000" maxRequestLength="50000" />

If the memory goes to high, will the session die? What else can I do?

Thanks for your help.
--
Mike Logan
Nov 19 '05 #1
2 1477
Hi Mike,

Big files are tough for IIS to digest. It may be grinding to a halt.

You probably want to go with a third-party upload component to handle that.
"Mike Logan" <Mi*******@community.nospam> wrote in message
news:92**********************************@microsof t.com...
I have a web application that allows uploads. Sometimes on uploads, the IE
Progress bar will fill up all the way and then display "Page cannot be
displayed", not a 500 error, just a standard cannot find dns page. This
problem happens on different size files. I have gotten 1 MB files to work
and 10 MB files to work. But sometimes 2 MB files will not work. I have
this in the web.config

<httpRuntime executionTimeout="54000" maxRequestLength="50000" />

If the memory goes to high, will the session die? What else can I do?

Thanks for your help.
--
Mike Logan


Nov 19 '05 #2
Hi Mike,

The elements
<httpRuntime executionTimeout="54000" maxRequestLength="50000" />

you used are correct and the problem it works sometimes but failed
randomly may due to the different clientside network bandwidth.
Also, if you feel it not convenient to set the large executionTimeout or
RequestLength limit for the whole application, you can use the <location>
element to speicfy this for a single page, such as

<configuration>
<location path="UploadPage.aspx">
<httpRuntime maxRequestLength="100000"/>
</location>
</configuration>

In addition, as Ken said, if you want more professional upload control and
functions, maybe a httpHandler/Module or raw ISAPI component are more
suitable. You can some 3rd party components does this work.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Thanks.

Nov 19 '05 #3

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

Similar topics

0
by: Paul Hamlington | last post by:
Hello, I've been programming in ASP for a little while now and quite an advanced user, but I have come across an unusual problem in which I need assistance. I have built my own image upload,...
3
by: John Rebbeck | last post by:
(sorry about cross posting but I really need help with this and it fits in both newsgroups) I'm creating a little image manager and I'm using Persits ASPUpload. I have an UploadButton and...
4
by: NohaKhalifa | last post by:
Dear All; I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online .. I want them to fill data...
3
by: Tim::.. | last post by:
Can someone please tell my why I get the following problem when I type the following piece of code! How do I get around this??? The idea is that when a user clicks a button on a form it causes...
2
by: prakharv | last post by:
Hi All, Below is the code which I am using to upload a jpeg file to the server. But the problem I am facing is that it is not copying the entire contents of the image file to the webserver and it...
0
by: RichBurdes | last post by:
Hi All, I've just started using ASPupload and can successfully submit files to a directory on the web server and form data to a database - i can then retrieve the form data and links to the files...
4
by: Muddasir | last post by:
Hi.. i am having a strange problem.......the problem is i am trying to upload a file and to store it in db....when the file got stored in db...it got converted into black and white image and...
12
by: K. | last post by:
Hello! I have a problem with SWFupload class1. I have the page with uses SWFUpload class. Everything worked fine until (I suppose my admin) implemented some changes into the server. Now uploading...
2
by: swethak | last post by:
Hi, i wrote a code to upload a image.In my local it works fine. When i place this code in website through FTP. In that it will not works. i am giving the upload path ../upload . When i try to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.