samedi 1 août 2015

The server committed a protocol violation. Section=ResponseStatusLine in c# ASP.NET using XmlDocument

i am working on a website which uses an API to read data from. The APi returns data in XML format for which i am using Load() of XmlDocument but during the execution I get an Exception "The server committed a protocol violation. Section=ResponseStatusLine" on this line doc.Load(url); I don't know how to tackle with this problem, I have already searched for answers but couldn't find any good.

Aucun commentaire:

Enregistrer un commentaire