Video Screencast Help

Error in SD 7.5 System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 6.

Created: 21 Oct 2013 • Updated: 23 Oct 2013 | 2 comments
This issue has been solved. See solution.

Can any one help me with this error i am having in my SD7.5 since few days.

Application Name : Custom Workflow2
Process ID : 2160
Date :10/21/2013 9:37:38 AM
Log Level :Error
Log Category :LogicBase.ObjectStorage.Converters.XML
Machine Name : WHQNT5
Message :
System.InvalidOperationException: There is an error in XML document (1, 6). ---> System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 6.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderServiceQueue.Read7_ServiceQueue()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at LogicBase.Framework.XMLTypeConverter.GetObject(ObjectStorageContainer storageContainer, ObjectStorageObjectData values, Type valueType, ObjectStorageErrorHandler errorHandler)

Operating Systems:

Comments 2 CommentsJump to latest comment

reecardo's picture

This is coming from a Custom WF... any chance you could attach it or send it in a PM?

reecardo's picture

You might want o track the storage preferences for your project and make sure they're correct (right click on top of tree view, and click Project properties)