The request that is sent by the HttpWebRequest class may stop responding when you use the HttpWebRequest class in an ASP.NET application
Note Managed code classes such as SOAP and remoting internally use the HttpWebRequest class. Therefore, managed code classes may exhibit the same behavior.
Note The HTTP request is made up of the following parts:
- Sending the request is covered by using the HttpWebRequest.Timeout method.
- Getting the response header is covered by using the HttpWebRequest.Timeout method.
- Reading the body of the response is not covered by using the HttpWebResponse.Timeout method. In ASP.NET 1.1 and in later versions, reading the body of the response is covered by using the HttpWebRequest.ReadWriteTimeout method. The HttpWebRequest.ReadWriteTimeout method is used to handle cases where the response headers are retrieved in a timely manner but where the reading of the response body times out.
Note If the debug property in the .config file is set to true, the executionTimeout property is ignored.
You must set the ASP.NET executionTimeout setting to a value that is larger than or equal to the value that is determined by the following formula:
Id. de artículo: 904262 - Última revisión: 05/21/2007 01:41:11 - Revisión: 1.5
- kbtshoot kbprb KB904262