I have a URL that returns an AtomFeed that is fine in my browser although it fails when reading the feed in C#?
Im trying to read this feed in my console application running it locally. When I try this I get a "The remote server returned an error: (500) Internal Server Error."
I'm using IIS 5.1 on an XP machine and running the code from within visual studio whilst debugging.
Any ideas why this fails and how to resolve it please as I need to read the atom feed into memory and extract certain nodes out of it.
public static void ParseAtomFeed()
string url = @"http://xxxxxxxxxx";
WebClient client = new WebClient();
byte bytedata = client.DownloadData(url); // causes error
// when successful read through and extract a node from the feed