Click here to Skip to main content
15,903,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am facing a problem when I am retreiving a data from data field of type 'nvarchar' which has unicode data from sql server 2008 and converting the data to xml format using web service in 3.5 with c#.

I am getting an error as "XML Parsing Error: reference to invalid character number".

I tried in google but i couldn't solve my problem.

Please, Help me...

You may have an invalid character in your xml. Does the debugger help at all?
Share this answer
Share this answer

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