Hi, Dave
I've escalated your request to a specialist. If you do not receive a
response by close of business on Wednesday, please post here again and I
will expedite.
Thank you for choosing the MSDN Managed Newsgroups,
John Eikanger
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
"Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security."
--------------------
| From: "Dave" <dh*****@hrscop e.com>
| Subject: "The underlying connection was closed" error on .Net 1.1
| Date: Mon, 15 Sep 2003 15:02:30 -0400
| Lines: 22
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <OL************ *@tk2msftngp13. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.genera l
| NNTP-Posting-Host: 24-168-36-252.si.rr.com 24.168.36.252
| Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a10.phx.gbl!TK2 MSFTNGXA05.phx. gbl!TK2MSFTNGP0 8
..phx.gbl!tk2ms ftngp13.phx.gbl
| Xref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.genera l:108281
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| These code generates the error:
|
| WebRequest request = WebRequest.Crea te("http://www.yahoo.com") ;
| WebResponse response = request.GetResp onse();
|
| Here is the stack trace for the error:
|
| WebException: The underlying connection was closed: Unable to connect to
the
| remote server.]
| System.Net.Http WebRequest.Chec kFinalStatus() +673
| System.Net.Http WebRequest.EndG etResponse(IAsy ncResult asyncResult) +140
| System.Net.Http WebRequest.GetR esponse() +147
| ASP.WebRequest_ aspx.Page_Load( Object sender, EventArgs e) in
|
|
| This worked fine on .Net 1.0 but stopped working when upgraded to .Net
1.1 .
|
| Any help on this will be greatly appreciated.
|
| thanks.
|
|
|