Category Archives: .NET

Invalid URI: The Uri string is too long with XmlDocument

By | May 12, 2016

When you get:

on XmlDocument while loading xml from string make sure you use: XmlDocument.LoadXml(string) Loads the XML document from the specified string. and not XmlDocument.Load(string) Loads the XML document from the specified URL.