Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 24th, 2005, 12:16 AM
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-

http://api.search.yahoo.com/WebSearc...onna&results=2
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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My own class in asp.net 2.0 DarkForce ASP.NET 2.0 Professional 1 October 13th, 2008 12:39 PM
Class existens in ASP.NET mega ASP.NET 1.x and 2.0 Application Design 7 November 23rd, 2004 01:30 PM
Temporary Intenet Files + WebClient Class philw86 C# 1 July 6th, 2004 02:15 AM
A Class in ASP.NET Maxood ASP.NET 1.0 and 1.1 Basics 12 March 25th, 2004 03:31 PM
Exception Handling in ASP.net class mittalpa VS.NET 2002/2003 0 July 11th, 2003 03:22 PM



All times are GMT -4. The time now is 11:51 AM.


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