ServiceDesk

 View Only
Expand all | Collapse all

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

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

    Posted Oct 21, 2013 09:40 AM

    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)



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

    Posted Oct 21, 2013 10:22 AM

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



  • 3.  RE: Error in SD 7.5 System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 6.
    Best Answer

    Posted Oct 21, 2013 01:33 PM

    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)