Re: does ExecutionTimeout include file upload time?



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

  • Solution design
    ... allow the end user to upload photos to the server. ... The first request would trigger for creating: ... and uses the advantages of the .NET technologies even on client side). ... we tried to create a Java applet that was trying to ...
    (microsoft.public.dotnet.general)
  • 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?
    ... - 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?
    ... 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)