hexadecimal value 0x00 is an invalid character

20. April 2010

Read this article in your language IT | EN | DE | ES

This is usually an encodnig issues. Invalid characters in the string going into the xml. Remedy this by converting your string data into UTF8 when assining the data to your XML element.

Example:

XRecordDetail = New XElement(Header, System.Text.Encoding.UTF8.GetBytes(OriginalDataString))

Or

XMLData = XMLSystem.Text.Encoding.UTF8.GetBytes(OriginalDataString)

VB.NET

Comments

8/12/2010 11:31:55 PM #
Our shop offers many famous Chopard Replica Watches. for example:Chopard Mille Miglia Replica Watches,Chopard Grand Prix de Monaco Historique 2008 Chronograph, They are all wrist watches and you can buy one for your father to show your love ,moreover. no one could know it a replica one.