maoyuan121 / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Error parsing characters #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Server Error in '/' Application.

'', hexadecimal value 0x1F, is an invalid character. Line 1, position 165.

Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information about 
the error and where it originated in the code. 

Exception Details: System.Xml.XmlException: '', hexadecimal value 0x1F, is an 
invalid character. Line 1, position 165.

Source Error: 

An unhandled exception was generated during the execution of the current web 
request. Information regarding the origin and location of the exception can be 
identified using the exception stack trace below.

Stack Trace: 

[XmlException: '', hexadecimal value 0x1F, is an invalid character. Line 1, 
position 165.]
   System.Xml.XmlTextReaderImpl.Throw(Exception e) +76
   System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) +88
   System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) +18
   System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) +151
   System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) +4005958
   System.Xml.XmlTextReaderImpl.ParseNumericCharRef(Boolean expand, BufferBuilder internalSubsetBuilder, EntityType& entityType) +46
   System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) +3984053
   System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr) +500
   System.Xml.XmlTextReaderImpl.ParseAttributes() +903
   System.Xml.XmlTextReaderImpl.ParseElement() +343
   System.Xml.XmlTextReaderImpl.ParseDocumentContent() +302
   System.Xml.XmlTextReaderImpl.Read() +151
   System.Xml.XmlReader.MoveToContent() +64
   System.Xml.XmlReader.IsStartElement(String name) +18
   Elmah.SqlErrorLog.ErrorsXmlToList(XmlReader reader, IList errorEntryList) +35
   Elmah.SqlErrorLog.GetErrors(Int32 pageIndex, Int32 pageSize, IList errorEntryList) +160
   Elmah.ErrorLogPage.OnLoad(EventArgs e) +346
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Original issue reported on code.google.com by caire...@hotmail.com on 26 Nov 2010 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 27 Nov 2010 at 10:33