The underlying connection was closed: The connection was closed unexpectedly.
If i do a response.redirect it brings up the document all right. I am not sure what the actuall problem is any help would be much appretiated. The following is the code
CODE:
Expand|Select|Wrap|Line Numbers
- Dim Reader As XmlTextReader = New XmlTextReader("MyURL")
- Do While Reader.Read()
- ss = ss & Reader.Name
- Loop
And i have also tried this...
CODE:
Expand|Select|Wrap|Line Numbers
- Dim objXML as new System.Xml.XmlDocument
- objXML.Load(MyURL)
Both return the same error.....
Thanks taf.