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?