Click here to Skip to main content
15,923,120 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
I have created a console application using asp.net 3.5. In that I am accessing the xml url of the user and reading that xml to get product feeds.
But the xml url gives error of "The underlying connection was closed: The connection was closed unexpectedly."

request = (HttpWebRequest)WebRequest.Create("http://www.futurebazaar.com/atom?name=FutureBazaar&cat=Fashion+Deals");
response1 = (HttpWebResponse)_request.GetResponse();


Here response1 gives me this error wen getting response.
Please someone give me some solution to this.
Posted
Updated 14-Apr-11 21:38pm
v2

1 solution

Check this [^].

Try using google first, you wont grow as an exceptional developer if you continue being like this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900