User Profile
Collapse
-
I was able to get around this problem by returning a String instead of an XmlReader object from my adapter function. I then used xdoc.LoadXml() to load the string. -
XmlDocument.Load: Unexpected end of file has occurred.
Hi all,
I'm attempting to load an xml document from an XML column in MSSQL 2008, into an XmlDocument (see code below).
Sometimes the code will break at the xdoc.Load(xr) line with the error "Unexpected end of file and occurred". After breaking, the XmlReader has a value of "None".
While researching the problem, I saw posts that referred to a 4Kb limit on StreamReaders and figured this...
No activity results to display
Show More
Leave a comment: