D
Dave
These code generates the error:
WebRequest request = WebRequest.Create("http://www.yahoo.com");
WebResponse response = request.GetResponse();
Here is the stack trace for the error:
WebException: The underlying connection was closed: Unable to connect to the
remote server.]
System.Net.HttpWebRequest.CheckFinalStatus() +673
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +140
System.Net.HttpWebRequest.GetResponse() +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.
WebRequest request = WebRequest.Create("http://www.yahoo.com");
WebResponse response = request.GetResponse();
Here is the stack trace for the error:
WebException: The underlying connection was closed: Unable to connect to the
remote server.]
System.Net.HttpWebRequest.CheckFinalStatus() +673
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +140
System.Net.HttpWebRequest.GetResponse() +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.