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.XmlExceptionMessage: '', hexadecimal value 0x1A is a invalid valueSource: 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?
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
Hallo David Young,
thank you for fast reply. You are right. My grid is inside a updatepanel, which is inside a UltraWebTab, which is inside a page which is inside a master page.
My Infragistics Version is 10.2.20102.2173
Is there a known issue, which is fixed in later version? If so I try an update.OK I will check the effort replacing all UltraWebTabs with new WebTab.
My problem is, that I can not reproduce it. It only happens on the customers enviroment. So I have no test project.