http请求超时异常记录

而在浏览器中访问正常,

在设置WebRequest的TimeOut为超长时间后,在程序中依然有如下异常

异常提示如下:

The operation has timed out

System.Net.WebResponse GetResponse

解决1:Dispose你的Response;

解决2:参考下面这个链接

http://stackoverflow.com/questions/5827030/httpwebrequest-times-out-on-second-call

http://blogs.msdn.com/b/adarshk/archive/2005/01/02/345411.aspx

posted @ 2012-08-02 14:19  花生!~~  阅读(892)  评论(0编辑  收藏  举报