Invalid URI: The Uri string is too long with XmlDocument

When you get:

Invalid URI: The Uri string is too long

on XmlDocument while loading xml from string make sure you use:

and not

1 thought on “Invalid URI: The Uri string is too long with XmlDocument”

Leave a Comment