Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   How to TimeOut a long running Request ?? (http://www.velocityreviews.com/forums/t93853-how-to-timeout-a-long-running-request.html)

=?Utf-8?B?U2hhbGluaQ==?= 01-05-2005 01:39 PM

How to TimeOut a long running Request ??
 
If I have an ASPX page that is just sleeping for 3 minutes ormore and later
does some processing and the ExecutionTimeout parameter in the machine.config
is 90 seconds then the page does not timeout after 90 seconds.
Even if the ExecutionTimeout parameter in the web.config is set or the
Server.ScriptTimeout is set in the aspx.cs still the page does not timeout
after the timeout period.
Can someone please tell us as to how we can timeout an aspx page that is
doing some lengthy processing? Also when exactly does the ExecutionTimeout
take effect?

William F. Robertson, Jr. 01-05-2005 03:36 PM

Re: How to TimeOut a long running Request ??
 
I am not sure if this is your situation, but I could never get a "Request
Timed Out." when I was running the browser and the server on my local
machine. I had to use my browser to hit a remote machine. My
machine.config timeout is 90 seconds, and it does timeout remotely. Are you
running everything on your local machine?

bill

"Shalini" <Shalini@discussions.microsoft.com> wrote in message
news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
> If I have an ASPX page that is just sleeping for 3 minutes ormore and

later
> does some processing and the ExecutionTimeout parameter in the

machine.config
> is 90 seconds then the page does not timeout after 90 seconds.
> Even if the ExecutionTimeout parameter in the web.config is set or the
> Server.ScriptTimeout is set in the aspx.cs still the page does not timeout
> after the timeout period.
> Can someone please tell us as to how we can timeout an aspx page that is
> doing some lengthy processing? Also when exactly does the ExecutionTimeout
> take effect?




=?Utf-8?B?U2hhbGluaQ==?= 01-06-2005 01:33 PM

Re: How to TimeOut a long running Request ??
 
I am not getting the timeout in any case whether I am ruuning the application
locally or remotely. I have tried several times. Even though the
'ExecutionTimeout' in machine.config is set to 90 seconds, the request
doesnot timeout. The 'debug' attribute in web.config is set to true. Is some
other setting required to be made? If not then what is the reason for the
timeout not happening? Could anyone please elaborate?

"William F. Robertson, Jr." wrote:

> I am not sure if this is your situation, but I could never get a "Request
> Timed Out." when I was running the browser and the server on my local
> machine. I had to use my browser to hit a remote machine. My
> machine.config timeout is 90 seconds, and it does timeout remotely. Are you
> running everything on your local machine?
>
> bill
>
> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
> > If I have an ASPX page that is just sleeping for 3 minutes ormore and

> later
> > does some processing and the ExecutionTimeout parameter in the

> machine.config
> > is 90 seconds then the page does not timeout after 90 seconds.
> > Even if the ExecutionTimeout parameter in the web.config is set or the
> > Server.ScriptTimeout is set in the aspx.cs still the page does not timeout
> > after the timeout period.
> > Can someone please tell us as to how we can timeout an aspx page that is
> > doing some lengthy processing? Also when exactly does the ExecutionTimeout
> > take effect?

>
>
>


Juan T. Llibre [MVP] 01-06-2005 02:14 PM

Re: How to TimeOut a long running Request ??
 
re:
>The 'debug' attribute in web.config is set to true.


'ExecutionTimeout' only applies if the debug
attribute in the compilation element is set to false.




Juan T. Llibre
===========
"Shalini" <Shalini@discussions.microsoft.com> wrote in message
news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
>I am not getting the timeout in any case whether I am ruuning the
>application
> locally or remotely. I have tried several times. Even though the
> 'ExecutionTimeout' in machine.config is set to 90 seconds, the request
> doesnot timeout. The 'debug' attribute in web.config is set to true. Is
> some
> other setting required to be made? If not then what is the reason for the
> timeout not happening? Could anyone please elaborate?
>
> "William F. Robertson, Jr." wrote:
>
>> I am not sure if this is your situation, but I could never get a "Request
>> Timed Out." when I was running the browser and the server on my local
>> machine. I had to use my browser to hit a remote machine. My
>> machine.config timeout is 90 seconds, and it does timeout remotely. Are
>> you
>> running everything on your local machine?
>>
>> bill
>>
>> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
>> > If I have an ASPX page that is just sleeping for 3 minutes ormore and

>> later
>> > does some processing and the ExecutionTimeout parameter in the

>> machine.config
>> > is 90 seconds then the page does not timeout after 90 seconds.
>> > Even if the ExecutionTimeout parameter in the web.config is set or the
>> > Server.ScriptTimeout is set in the aspx.cs still the page does not
>> > timeout
>> > after the timeout period.
>> > Can someone please tell us as to how we can timeout an aspx page that
>> > is
>> > doing some lengthy processing? Also when exactly does the
>> > ExecutionTimeout
>> > take effect?

>>
>>
>>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004



=?Utf-8?B?SW5kaXJh?= 01-10-2005 03:45 AM

Re: How to TimeOut a long running Request ??
 
Thanx a lot everyone.
Struggled a lot with this problem.



"Juan T. Llibre [MVP]" wrote:

> re:
> >The 'debug' attribute in web.config is set to true.

>
> 'ExecutionTimeout' only applies if the debug
> attribute in the compilation element is set to false.
>
>
>
>
> Juan T. Llibre
> ===========
> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
> news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
> >I am not getting the timeout in any case whether I am ruuning the
> >application
> > locally or remotely. I have tried several times. Even though the
> > 'ExecutionTimeout' in machine.config is set to 90 seconds, the request
> > doesnot timeout. The 'debug' attribute in web.config is set to true. Is
> > some
> > other setting required to be made? If not then what is the reason for the
> > timeout not happening? Could anyone please elaborate?
> >
> > "William F. Robertson, Jr." wrote:
> >
> >> I am not sure if this is your situation, but I could never get a "Request
> >> Timed Out." when I was running the browser and the server on my local
> >> machine. I had to use my browser to hit a remote machine. My
> >> machine.config timeout is 90 seconds, and it does timeout remotely. Are
> >> you
> >> running everything on your local machine?
> >>
> >> bill
> >>
> >> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
> >> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
> >> > If I have an ASPX page that is just sleeping for 3 minutes ormore and
> >> later
> >> > does some processing and the ExecutionTimeout parameter in the
> >> machine.config
> >> > is 90 seconds then the page does not timeout after 90 seconds.
> >> > Even if the ExecutionTimeout parameter in the web.config is set or the
> >> > Server.ScriptTimeout is set in the aspx.cs still the page does not
> >> > timeout
> >> > after the timeout period.
> >> > Can someone please tell us as to how we can timeout an aspx page that
> >> > is
> >> > doing some lengthy processing? Also when exactly does the
> >> > ExecutionTimeout
> >> > take effect?
> >>
> >>
> >>

>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004
>
>
>


Alvin Bruney [MVP] 01-10-2005 01:16 PM

Re: How to TimeOut a long running Request ??
 
FYI:
I've never known that executionTimeout to actually work irespective of the
settings applied.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Indira" <Indira@discussions.microsoft.com> wrote in message
news:B05EACB5-8185-47F4-B427-79D0C37910A3@microsoft.com...
> Thanx a lot everyone.
> Struggled a lot with this problem.
>
>
>
> "Juan T. Llibre [MVP]" wrote:
>
>> re:
>> >The 'debug' attribute in web.config is set to true.

>>
>> 'ExecutionTimeout' only applies if the debug
>> attribute in the compilation element is set to false.
>>
>>
>>
>>
>> Juan T. Llibre
>> ===========
>> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>> news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
>> >I am not getting the timeout in any case whether I am ruuning the
>> >application
>> > locally or remotely. I have tried several times. Even though the
>> > 'ExecutionTimeout' in machine.config is set to 90 seconds, the request
>> > doesnot timeout. The 'debug' attribute in web.config is set to true. Is
>> > some
>> > other setting required to be made? If not then what is the reason for
>> > the
>> > timeout not happening? Could anyone please elaborate?
>> >
>> > "William F. Robertson, Jr." wrote:
>> >
>> >> I am not sure if this is your situation, but I could never get a
>> >> "Request
>> >> Timed Out." when I was running the browser and the server on my local
>> >> machine. I had to use my browser to hit a remote machine. My
>> >> machine.config timeout is 90 seconds, and it does timeout remotely.
>> >> Are
>> >> you
>> >> running everything on your local machine?
>> >>
>> >> bill
>> >>
>> >> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>> >> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
>> >> > If I have an ASPX page that is just sleeping for 3 minutes ormore
>> >> > and
>> >> later
>> >> > does some processing and the ExecutionTimeout parameter in the
>> >> machine.config
>> >> > is 90 seconds then the page does not timeout after 90 seconds.
>> >> > Even if the ExecutionTimeout parameter in the web.config is set or
>> >> > the
>> >> > Server.ScriptTimeout is set in the aspx.cs still the page does not
>> >> > timeout
>> >> > after the timeout period.
>> >> > Can someone please tell us as to how we can timeout an aspx page
>> >> > that
>> >> > is
>> >> > doing some lengthy processing? Also when exactly does the
>> >> > ExecutionTimeout
>> >> > take effect?
>> >>
>> >>
>> >>

>>
>>
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004
>>
>>
>>




Juan T. Llibre 01-10-2005 01:48 PM

Re: How to TimeOut a long running Request ??
 
It seems to have worked for Indira.



Juan T. Llibre
ASP.NET MVP
===========
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:%23Aabnax9EHA.2112@TK2MSFTNGP14.phx.gbl...
> FYI:
> I've never known that executionTimeout to actually work irespective of the
> settings applied.
> Regards,
> Alvin Bruney


> "Indira" <Indira@discussions.microsoft.com> wrote in message
> news:B05EACB5-8185-47F4-B427-79D0C37910A3@microsoft.com...
>> Thanx a lot everyone.
>> Struggled a lot with this problem.
>>
>>
>>
>> "Juan T. Llibre [MVP]" wrote:
>>
>>> re:
>>> >The 'debug' attribute in web.config is set to true.
>>>
>>> 'ExecutionTimeout' only applies if the debug
>>> attribute in the compilation element is set to false.
>>>
>>>
>>>
>>>
>>> Juan T. Llibre
>>> ===========
>>> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>>> news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
>>> >I am not getting the timeout in any case whether I am ruuning the
>>> >application
>>> > locally or remotely. I have tried several times. Even though the
>>> > 'ExecutionTimeout' in machine.config is set to 90 seconds, the request
>>> > doesnot timeout. The 'debug' attribute in web.config is set to true.
>>> > Is
>>> > some
>>> > other setting required to be made? If not then what is the reason for
>>> > the
>>> > timeout not happening? Could anyone please elaborate?
>>> >
>>> > "William F. Robertson, Jr." wrote:
>>> >
>>> >> I am not sure if this is your situation, but I could never get a
>>> >> "Request
>>> >> Timed Out." when I was running the browser and the server on my local
>>> >> machine. I had to use my browser to hit a remote machine. My
>>> >> machine.config timeout is 90 seconds, and it does timeout remotely.
>>> >> Are
>>> >> you
>>> >> running everything on your local machine?
>>> >>
>>> >> bill
>>> >>
>>> >> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>>> >> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
>>> >> > If I have an ASPX page that is just sleeping for 3 minutes ormore
>>> >> > and
>>> >> later
>>> >> > does some processing and the ExecutionTimeout parameter in the
>>> >> machine.config
>>> >> > is 90 seconds then the page does not timeout after 90 seconds.
>>> >> > Even if the ExecutionTimeout parameter in the web.config is set or
>>> >> > the
>>> >> > Server.ScriptTimeout is set in the aspx.cs still the page does not
>>> >> > timeout
>>> >> > after the timeout period.
>>> >> > Can someone please tell us as to how we can timeout an aspx page
>>> >> > that
>>> >> > is
>>> >> > doing some lengthy processing? Also when exactly does the
>>> >> > ExecutionTimeout
>>> >> > take effect?
>>> >>
>>> >>
>>> >>
>>>
>>>
>>> ---
>>> Outgoing mail is certified Virus Free.
>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>> Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004
>>>
>>>
>>>

>
>




Alvin Bruney [MVP] 01-10-2005 07:20 PM

Re: How to TimeOut a long running Request ??
 
indira,
you mind saying what you tweaked in addition to the config file setting to
get this to work?

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:%23ZRFOsx9EHA.3756@TK2MSFTNGP14.phx.gbl...
> It seems to have worked for Indira.
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> ===========
> "Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
> news:%23Aabnax9EHA.2112@TK2MSFTNGP14.phx.gbl...
>> FYI:
>> I've never known that executionTimeout to actually work irespective of
>> the settings applied.
>> Regards,
>> Alvin Bruney

>
>> "Indira" <Indira@discussions.microsoft.com> wrote in message
>> news:B05EACB5-8185-47F4-B427-79D0C37910A3@microsoft.com...
>>> Thanx a lot everyone.
>>> Struggled a lot with this problem.
>>>
>>>
>>>
>>> "Juan T. Llibre [MVP]" wrote:
>>>
>>>> re:
>>>> >The 'debug' attribute in web.config is set to true.
>>>>
>>>> 'ExecutionTimeout' only applies if the debug
>>>> attribute in the compilation element is set to false.
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre
>>>> ===========
>>>> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>>>> news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
>>>> >I am not getting the timeout in any case whether I am ruuning the
>>>> >application
>>>> > locally or remotely. I have tried several times. Even though the
>>>> > 'ExecutionTimeout' in machine.config is set to 90 seconds, the
>>>> > request
>>>> > doesnot timeout. The 'debug' attribute in web.config is set to true.
>>>> > Is
>>>> > some
>>>> > other setting required to be made? If not then what is the reason for
>>>> > the
>>>> > timeout not happening? Could anyone please elaborate?
>>>> >
>>>> > "William F. Robertson, Jr." wrote:
>>>> >
>>>> >> I am not sure if this is your situation, but I could never get a
>>>> >> "Request
>>>> >> Timed Out." when I was running the browser and the server on my
>>>> >> local
>>>> >> machine. I had to use my browser to hit a remote machine. My
>>>> >> machine.config timeout is 90 seconds, and it does timeout remotely.
>>>> >> Are
>>>> >> you
>>>> >> running everything on your local machine?
>>>> >>
>>>> >> bill
>>>> >>
>>>> >> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
>>>> >> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
>>>> >> > If I have an ASPX page that is just sleeping for 3 minutes ormore
>>>> >> > and
>>>> >> later
>>>> >> > does some processing and the ExecutionTimeout parameter in the
>>>> >> machine.config
>>>> >> > is 90 seconds then the page does not timeout after 90 seconds.
>>>> >> > Even if the ExecutionTimeout parameter in the web.config is set or
>>>> >> > the
>>>> >> > Server.ScriptTimeout is set in the aspx.cs still the page does not
>>>> >> > timeout
>>>> >> > after the timeout period.
>>>> >> > Can someone please tell us as to how we can timeout an aspx page
>>>> >> > that
>>>> >> > is
>>>> >> > doing some lengthy processing? Also when exactly does the
>>>> >> > ExecutionTimeout
>>>> >> > take effect?
>>>> >>
>>>> >>
>>>> >>
>>>>
>>>>
>>>> ---
>>>> Outgoing mail is certified Virus Free.
>>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>>> Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004
>>>>
>>>>
>>>>

>>
>>

>
>




=?Utf-8?B?SW5kaXJh?= 01-24-2005 09:13 AM

Re: How to TimeOut a long running Request ??
 
Nothin else.
I just made sure 'executionTimeout' attribute of httpRuntime element is set
to its default value of 90 seconds in the machine.config and that it is not
being overridden in web.config.
I just needed to change the value of the 'debug' attribute to true and the
executionTimeout took effect.

"Alvin Bruney [MVP]" wrote:

> indira,
> you mind saying what you tweaked in addition to the config file setting to
> get this to work?
>
> --
> Regards,
> Alvin Bruney
> [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
> Got tidbits? Get it here... http://tinyurl.com/27cok
> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
> news:%23ZRFOsx9EHA.3756@TK2MSFTNGP14.phx.gbl...
> > It seems to have worked for Indira.
> >
> >
> >
> > Juan T. Llibre
> > ASP.NET MVP
> > ===========
> > "Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
> > news:%23Aabnax9EHA.2112@TK2MSFTNGP14.phx.gbl...
> >> FYI:
> >> I've never known that executionTimeout to actually work irespective of
> >> the settings applied.
> >> Regards,
> >> Alvin Bruney

> >
> >> "Indira" <Indira@discussions.microsoft.com> wrote in message
> >> news:B05EACB5-8185-47F4-B427-79D0C37910A3@microsoft.com...
> >>> Thanx a lot everyone.
> >>> Struggled a lot with this problem.
> >>>
> >>>
> >>>
> >>> "Juan T. Llibre [MVP]" wrote:
> >>>
> >>>> re:
> >>>> >The 'debug' attribute in web.config is set to true.
> >>>>
> >>>> 'ExecutionTimeout' only applies if the debug
> >>>> attribute in the compilation element is set to false.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Juan T. Llibre
> >>>> ===========
> >>>> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
> >>>> news:7A257D4A-283A-4FE6-9EF7-FFEE8C0A7A7E@microsoft.com...
> >>>> >I am not getting the timeout in any case whether I am ruuning the
> >>>> >application
> >>>> > locally or remotely. I have tried several times. Even though the
> >>>> > 'ExecutionTimeout' in machine.config is set to 90 seconds, the
> >>>> > request
> >>>> > doesnot timeout. The 'debug' attribute in web.config is set to true.
> >>>> > Is
> >>>> > some
> >>>> > other setting required to be made? If not then what is the reason for
> >>>> > the
> >>>> > timeout not happening? Could anyone please elaborate?
> >>>> >
> >>>> > "William F. Robertson, Jr." wrote:
> >>>> >
> >>>> >> I am not sure if this is your situation, but I could never get a
> >>>> >> "Request
> >>>> >> Timed Out." when I was running the browser and the server on my
> >>>> >> local
> >>>> >> machine. I had to use my browser to hit a remote machine. My
> >>>> >> machine.config timeout is 90 seconds, and it does timeout remotely.
> >>>> >> Are
> >>>> >> you
> >>>> >> running everything on your local machine?
> >>>> >>
> >>>> >> bill
> >>>> >>
> >>>> >> "Shalini" <Shalini@discussions.microsoft.com> wrote in message
> >>>> >> news:176F08B7-B82F-4ACE-8FB7-687A4C489DFC@microsoft.com...
> >>>> >> > If I have an ASPX page that is just sleeping for 3 minutes ormore
> >>>> >> > and
> >>>> >> later
> >>>> >> > does some processing and the ExecutionTimeout parameter in the
> >>>> >> machine.config
> >>>> >> > is 90 seconds then the page does not timeout after 90 seconds.
> >>>> >> > Even if the ExecutionTimeout parameter in the web.config is set or
> >>>> >> > the
> >>>> >> > Server.ScriptTimeout is set in the aspx.cs still the page does not
> >>>> >> > timeout
> >>>> >> > after the timeout period.
> >>>> >> > Can someone please tell us as to how we can timeout an aspx page
> >>>> >> > that
> >>>> >> > is
> >>>> >> > doing some lengthy processing? Also when exactly does the
> >>>> >> > ExecutionTimeout
> >>>> >> > take effect?
> >>>> >>
> >>>> >>
> >>>> >>
> >>>>
> >>>>
> >>>> ---
> >>>> Outgoing mail is certified Virus Free.
> >>>> Checked by AVG anti-virus system (http://www.grisoft.com).
> >>>> Version: 6.0.794 / Virus Database: 538 - Release Date: 11/10/2004
> >>>>
> >>>>
> >>>>
> >>
> >>

> >
> >

>
>
>



All times are GMT. The time now is 03:03 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57