C# 实现xmlreadersettings
我正在使用我的组织的联合会服务来按照的指导方针实施SSO 但是我得到了以下错误:C# 实现xmlreadersettings,c#,asp.net-mvc,single-sign-on,C#,Asp.net Mvc,Single Sign On,我正在使用我的组织的联合会服务来按照的指导方针实施SSO 但是我得到了以下错误: 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. 我找到了绕过此错
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.
我找到了绕过此错误的代码。但它并没有说我必须在哪里写这段代码。如果这看起来太琐碎,请耐心听我说。您必须向我们展示您试图读取xml的代码,以便我们知道您需要将解决方案实现放在哪里。@Kevin我没有明确编写任何xml代码。也许奥文在什么地方有?