p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Web Services (http://p2p.wrox.com/forumdisplay.php?f=102)
-   -   Error When Using Webclient class in ASP.NET (http://p2p.wrox.com/showthread.php?t=30796)

sebastiansony June 24th, 2005 12:16 AM

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...

All times are GMT -4. The time now is 09:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.