Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi experts,

I wrote a web service which returns datatable but its giving exception as
"There was an error generating the XML document."
A question was already posted that in code project like this
http://www.codeproject.com/Questions/193924/DataTable-in-Web-Service

according to this if i give name to datatable it should work but its not working
Can any one help me to solve this issue

Thanking you
(Keerthi Kumar)
Posted
Updated 31-Jan-14 22:13pm
v3
Comments
TnTinMn 1-Feb-14 20:33pm    
Not my area, but a quick search on you error message brought up this:
http://msdn.microsoft.com/en-us/library/aa302290.aspx

It describes trouble shooting this type of error. Based on a quick reading, you should look at the inner exception. Maybe if you post that message's info as shown in the article, someone can help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900