Office 365 - For security reasons DTD is prohibited in this XML document

今天在测试东西的时候发现在本机运行CSOM代码或使用Office 365 PowerShell时,出现了如下错误

Connect-SPOService : 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.

错误很奇葩,而且乍看就不是很常见,在我的VM里是不会出现这个问题的,那么原因基本上锁定在了网络连接上。实际上,是ISP那边出了问题。

从网上搜索到了http://pryankrohilla.blogspot.jp/2014/05/error-resolved-connect-sposervice-for.html这篇文章

那么,这个尴尬的东西怎么办呢,比如我家里是联通的宽带,貌似并没有什么办法。

晚些时候,它自己好了……



相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念