Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 url 从 url 加载 XML XDocument.Load。它似乎在本地工作,但在服务器中失败。我有 IIS 7、ASP.NET MVC 2 应用程序。上述函数使用什么具体协议?我需要检查哪些 IIS 设置?任何帮助将不胜感激。
XDocument.Load
请发布您的代码:
Dim doc As XDocument doc = XDocument.Load("http://dl.dropbox.com/u/8842115/sample.xml") For Each node In doc.Descendants("first") Console.WriteLine(CType(node.Element("no"), String)) Next