hello
i am trying to create rss news reader for which i am use the rss xml given by BBC news. I am using Asp.Net and implementing this way:
Dim loc = "
http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml"
Dim XmlResol As New XmlUrlResolver()
Dim xmlDoc As New XmlDocument()
xmlDoc.XmlResolver = XmlResol
Try
xmlDoc.Load(loc)
Catch ex As Exception
Throw ex
End Try
but when i run this code i get error message as "The underlying connection was closed: Unable to connect to the remote server." i donot know how to resolve this error and what is this error about.. I am working in the firewall environment.. i donot know that firewall have to do something with xml...
plz help me out....
Start Free Trial