Re: does ExecutionTimeout include file upload time?



thanks patrice and ben - I should be able to put my own handling in then :-)

Andy

"Patrice" <http://www.chez.com/scribe/> wrote in message
news:e6SHu3g%23HHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Have you tried ? Could it be something such as :
- the timeout is taken from the IIS application configuration
- you can still change this value programmatically ?

---
Patrice

"Andy Fish" <ajfish@xxxxxxxxxxxxxxxx> a écrit dans le message de news:
%23oT0vCg%23HHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
hmm, I just looked up the documentation

http://msdn2.microsoft.com/en-us/library/system.web.httpserverutility.scripttimeout.aspx

It says that ScriptTimeout only works when you have <compilation
debug="true"> in the web.config so it won't be an option for my
production application

Andy


"Patrice" <http://www.chez.com/scribe/> wrote in message
news:eFLpUjf%23HHA.1900@xxxxxxxxxxxxxxxxxxxxxxx
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" <ajfish@xxxxxxxxxxxxxxxx> a écrit dans le message de news:
uBSuSFf%23HHA.3800@xxxxxxxxxxxxxxxxxxxxxxx
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" <ajfish@xxxxxxxxxxxxxxxx> wrote in message
news:%23dQS7Je%23HHA.748@xxxxxxxxxxxxxxxxxxxxxxx
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












.



Relevant Pages

  • Re: does ExecutionTimeout include file upload time?
    ... - the timeout is taken from the IIS application configuration ... only valid for the duration of the current request. ... I would like to allow the user to upload large files if required, ... Is there any way to set the execution timeout differently on different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: does ExecutionTimeout include file upload time?
    ... URL and reset Server.ScriptTimeout if the url is the file upload page, ... for each request with the IIS default value. ... only valid for the duration of the current request. ... Is there any way to set the execution timeout differently on different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: does ExecutionTimeout include file upload time?
    ... I would like to allow the user to upload large files if required, ... Is there any way to set the execution timeout differently on different ... or to override it programmatically for an individual HttpRequest ... ticking once the entire request had been received by the server, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: does ExecutionTimeout include file upload time?
    ... each request with the IIS default value. ... valid for the duration of the current request. ... I would like to allow the user to upload large files if required, ... Is there any way to set the execution timeout differently on different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: does ExecutionTimeout include file upload time?
    ... each request with the IIS default value. ... valid for the duration of the current request. ... I would like to allow the user to upload large files if required, ... Is there any way to set the execution timeout differently on different ...
    (microsoft.public.dotnet.framework.aspnet)