Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1055
Sporadic System.Xml.XmlException rendering Grid
posted

Hi,

I have a WebApplication running in customers enviroment. The customers are getting sporadicly exceptions of Type System.Xml.XmlException.

Here is the stack trace:

Exception: System.Xml.XmlException
Message: '', hexadecimal value 0x1A is a invalid value
Source: System.Xml
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
   bei System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos)
   bei System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type)
   bei System.Xml.XmlTextReaderImpl.ParseElementContent()
   bei System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
   bei System.Xml.Xsl.Runtime.XmlQueryContext.ConstructDocument(Object dataSource, String uriRelative, Uri uriResolved)
   bei System.Xml.Xsl.Runtime.XmlQueryContext..ctor(XmlQueryRuntime runtime, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules)
   bei System.Xml.Xsl.Runtime.XmlQueryRuntime..ctor(XmlQueryStaticData data, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, XmlSequenceWriter seqWrt)
   bei System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results)
   bei System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter)
   bei System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)
   bei System.Xml.Xsl.XslCompiledTransform.Transform(XmlReader input, XmlWriter results)
   bei Infragistics.Web.UI.GridControls.GridRenderer.RenderContents(HtmlTextWriter writer)
   bei Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer)
   bei Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.Render(HtmlTextWriter writer)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer)
   bei System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei Infragistics.WebUI.UltraWebTab.DhtmlRenderer.RenderContent(Boolean tr, String noBorder)
   bei Infragistics.WebUI.UltraWebTab.DhtmlRenderer.RenderControl()
   bei Infragistics.WebUI.UltraWebTab.UltraWebTab.Render(HtmlTextWriter output)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei ASP.master_default_master.__RenderForm1(HtmlTextWriter __w, Control parameterContainer)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
   bei System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
   bei System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   bei System.Web.UI.Page.Render(HtmlTextWriter writer)

 

Any ideas how to solve this problem?

Parents
  • 33839
    posted

    Hi ThomasHepp,

    It looks as if your grid is inside of an update panel in an UltraWebTab in a MasterPage?  What version of Infragistics controls do you have and do you have the latest Service Release.  I'd suggest upgrading to the new WebTab as the UltraWebTab will be getting retired.  If you could attach a sample, we could try to debug it and see if the issue is coming from our code or you set up.

    regards,
    David Young 

Reply Children
No Data