XenApp/XenDesktop - "An error occurred while parsing EntityName. Line 1, position 26."

XenApp/XenDesktop - "An error occurred while parsing EntityName. Line 1, position 26."

book

Article ID: CTX226068

calendar_today

Updated On:

Description

We encounter the following error while clicking on any application or application details tab whenever the Delivery Group Name contains a special character 

User-added image

User-added image

"An error occurred while parsing EntityName. Line 1, position 26."
        
        Error Id: XDDS:2CD31B7C 
        Exception: 
            System.Xml.XmlException An error occurred while parsing EntityName. Line 1, position 26. 
               at System.Xml.XmlTextReaderImpl.Throw(Exception e) 
               at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
        
               at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) 
               at System.Xml.XmlTextReaderImpl.FinishPartialValue() 
               at System.Xml.XmlTextReaderImpl.get_Value() 
               at Citrix.Console.CommonControls.Text.CitrixTextBlock.Parse(Span s, XmlReader ser) 
               at Citrix.Console.CommonControls.Text.CitrixTextBlock.Parse(Span s, XmlReader ser) 
               at Citrix.Console.CommonControls.Text.CitrixTextBlock.Parse(Span s, XmlReader ser) 
               at Citrix.Console.CommonControls.Text.CitrixTextBlock.Parse(String textMarkup) 
               at Citrix.Console.CommonControls.Text.CitrixTextBlock.UpdateText() 
               at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 
               at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 

Resolution

Rename the Delivery Group and remove the Special or Non-ASCII characters 

Problem Cause

The following special characters are not allowed in the Delivery Group Name: \ / ; : # . * ? = < > | [ ] ( ) " '
Please note that these special are not allowed even in application related properties or names. Using these characters may cause unexpected issues