User-2067076400 posted
Hi, I am getting this error when I am trying to convert dataset into XML xmldocu.Load(dset.GetXml()); where dset is the Dataset containg the data. ERROR: System.IO.PathTooLongException: The path is too long after being fully qualified. Make sure path is less
than 260 characters. My webservice returns a dataset to the calling application. It was working jsut fine with the dataset, but when I tried converting it into the xml first before returning, it gave me this error. I also tried returning dataset to the calling
application and converting dataset into xml in the calling application but it gave me the same error.
User-1030800308 posted
Your code is incorrect. You should be doing: xmldocu.LoadXml(dset.GetXml()); Notice the use of LoadXml(), not Load(). Load is interpreting your xml code as a file name, and barfing at that.