I am using my organization's federation services for implementing an SSO following the guidelines of this.
But I am getting the following error:
For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
I found the code to bypass this error here. But it doesn't say where I have to write this code. Do bear with me if this seems too trivial.