Re: WebRequest timeout changed declaratively
- From: "Cedric" <cedric.dardenneNO@xxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Jan 2007 21:49:10 +0100
Hi Jakob,
Thanks a lot for your answer.
exectutionTimeout will set the time the web server allows for a task to execute (processed by the w3wp.exe process potentially).
The timeout I would like to set is on the client side. The client calls the web service and as the answer from the server is too long to come, it comes to the timeout. This timeout is handled through the WebRequest.Timout or HttpWebClientProtocol.Timeout.
So it would be this property's default value that I would need to set without modifying the code...
Any idea?
Thanks,
Cédric
"Jakob Christensen" <JakobChristensen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:47C26E7B-83AF-4D84-80E0-0AA6A850D2D8@xxxxxxxxxxxxxxxx
You can set executionTimeout for the HttpRuntime element in web.config:
http://msdn2.microsoft.com/en-us/library/e1f13641.aspx
HTH, Jakob.
--
http://www.dotninjas.dk
"Cedric" wrote:
Hi all,
We have some performance issues on a .NET 2.0 app. However we cannot modify
it, we don't have the sources.
Reading the logs, the error is a timeout happening in some Web Service call.
With the sources, it would be easy (?!), would have just changed
WebRequest.Timout to a bigger value, but we don't have sources.
Is there a way to change the default value, which is 100 seconds,
declaratively (in web.config, machine.config... etc.) or even somewhere else
like in the registry? Or is it hard coded in the framework?
I have been struggling on this, but haven't found a lead...
Thanks,
Cédric
.
- Follow-Ups:
- Re: WebRequest timeout changed declaratively
- From: Jakob Christensen
- Re: WebRequest timeout changed declaratively
- References:
- WebRequest timeout changed declaratively
- From: Cedric
- WebRequest timeout changed declaratively
- Prev by Date: RE: Go C# .NET for the larger applications?
- Next by Date: Accessing file properties
- Previous by thread: WebRequest timeout changed declaratively
- Next by thread: Re: WebRequest timeout changed declaratively
- Index(es):
Relevant Pages
|