Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2005, 12:16 AM
Registered User
 
Join Date: Jun 2005
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...






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





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