View Single Post
  #1 (permalink)  
Old June 24th, 2005, 12:16 AM
sebastiansony sebastiansony is offline
Registered User
Join Date: Jun 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error When Using Webclient class in ASP.NET

I am getting the following error whil
e using webClient class to retrieve site using HTTP.
The underlying connection was closed: Unable to connect to the remote server.# at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult) at System.Net.HttpWebRequest.GetResponse() at System.Net.WebClient.DownloadData(String address) at YahooWSSearch.yahooSearch.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\sony\YahooWSSearch\yahooSearch. aspx.vb:line 39
I actually want to retrieve the url-
It responses with an XML file, I want it to be parsed and stored in Database, am i in the right track?, is there any other way?, I seen XMLHttpRequest, but we can use only Java script for that, which will not be helpful while saving to database. I want an ASp.NET solution, please anyone who is familiar reply...

Reply With Quote