![]() |
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? |
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? |
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? > > > |
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 |
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 > > > |
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 >> >> >> |
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 >>> >>> >>> > > |
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 >>>> >>>> >>>> >> >> > > |
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.