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

does ExecutionTimeout include file upload time?

Hi,

I am trying to investigate a problem reported by one of my users who
received a "System.Web.HttpException: Request timed out." error trying to
upload a large file into my asp.net 2.0 application.

I have seen several blog posts and other articles implying that the
ExecutionTimeout property includes the time taken to upload the file,
whereas I had been of the opinion that the execution timeout only started
ticking once the entire request had been received by the server, and my
recent experiments would seem to back this up.

Can anyone throw any light on this?

Andy
Sep 18 '07 #1
2 3745
ok I have done some more experiments and it seems that the execution timeout
does indeed include the time to upload the file

I would like to allow the user to upload large files if required, but I do
not want to just set the global ExecutionTimeout to some massiv value
because I think the default value is sensible for all other requests.

Is there any way to set the execution timeout differently on different
pages? or to override it programmatically for an individual HttpRequest
object ?

TIA

Andy
"Andy Fish" <aj****@blueyonder.co.ukwrote in message
news:%2*****************@TK2MSFTNGP04.phx.gbl...
Hi,

I am trying to investigate a problem reported by one of my users who
received a "System.Web.HttpException: Request timed out." error trying to
upload a large file into my asp.net 2.0 application.

I have seen several blog posts and other articles implying that the
ExecutionTimeout property includes the time taken to upload the file,
whereas I had been of the opinion that the execution timeout only started
ticking once the entire request had been received by the server, and my
recent experiments would seem to back this up.

Can anyone throw any light on this?

Andy


Sep 18 '07 #2
Try but AFAIK in classic ASP, the Server.ScriptTimeOut was initialized for
each request with the IIS default value. Changes to this value were only
valid for the duration of the current request.

Just try to set the value in page A and display the value in page B to
confirm (or not) that the behavior is the same in ASP.NET...

---
Patrice

"Andy Fish" <aj****@blueyonder.co.uka écrit dans le message de news:
uB****************@TK2MSFTNGP03.phx.gbl...
ok I have done some more experiments and it seems that the execution
timeout does indeed include the time to upload the file

I would like to allow the user to upload large files if required, but I do
not want to just set the global ExecutionTimeout to some massiv value
because I think the default value is sensible for all other requests.

Is there any way to set the execution timeout differently on different
pages? or to override it programmatically for an individual HttpRequest
object ?

TIA

Andy
"Andy Fish" <aj****@blueyonder.co.ukwrote in message
news:%2*****************@TK2MSFTNGP04.phx.gbl...
>Hi,

I am trying to investigate a problem reported by one of my users who
received a "System.Web.HttpException: Request timed out." error trying to
upload a large file into my asp.net 2.0 application.

I have seen several blog posts and other articles implying that the
ExecutionTimeout property includes the time taken to upload the file,
whereas I had been of the opinion that the execution timeout only started
ticking once the entire request had been received by the server, and my
recent experiments would seem to back this up.

Can anyone throw any light on this?

Andy



Sep 18 '07 #3

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

Similar topics

2
by: matt | last post by:
I have compiled some code, some written by me, some compiled from various sources online, and basically i've got a very simple flat file photo gallery. An upload form, to upload the photos and give...
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
4
by: Alphonse Giambrone | last post by:
Can executionTimeout be set at run time? I need to increase it, to allow file uploads, but would prefer to only do it when the upload page is requested. TIA -- Alphonse Giambrone Email:...
0
by: Virag Gutgutia | last post by:
Hi, I am trying to understand the behaviour of executionTimeout attribute in the httpRuntime element. From what I understood in the documentation that by setting the executionTimeout i can limit...
2
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've...
2
by: SevDer | last post by:
Hi We have a case where client clicks a button and series of events take place which some of them are web service calls. And sometimes, we are receiving ThreadAbortException on the final steps...
10
by: Jim Underwood | last post by:
I am having a problem with my web page timng out while retrieving a long runnign report (90-120 seconds. I have tried modifying several settings in various places and cannot get it to run for more...
1
by: dejavue82 | last post by:
Hi, What is the maximum value I can set to the following web.config property to? <httpRuntime executionTimeout=""> I'm asking, since I'm not sure if there is a setting on my host's shared...
4
by: Ger | last post by:
I'm writing an ASP.NET 2.0 web application in JScript.NET. It exchanges JSON messages with an AJAX client via HTTP POST. This app runs flawlessly in local IIS 5.1 and in Visual Studio's ASP.NET...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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: 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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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
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...

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.