maoyuan121 / elmah

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

'?', hexadecimal value 0x1F, is an invalid character. Line 1, position 171. #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. elmah.axd throws error when message db field has ? mark in it or something?
2.access to elmah errors out and it starts trapping it's own unhandled
excpetion
3.

What is the expected output? What do you see instead?
the expected output is the elmah html page

What version of the product are you using? On what operating system?
Latest version of elmah on windows server 2008

Please provide any additional information below.
I have it set up to do RSS feeds and then it stops reporting erros and has
the summary text error in it.  Doesn't stop erroring out until i delete all
records in ELMAH_Error sql table.

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

    * Errors
    * Help
    * About

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

System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.Xml.XmlException: '', hexadecimal value 0x1F, is an invalid
character. Line 1, position 171.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar)
   at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32
startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32&
charCount, EntityType& entityType)
   at System.Xml.XmlTextReaderImpl.ParseNumericCharRef(Boolean expand,
BufferBuilder internalSubsetBuilder, EntityType& entityType)
   at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean
isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos,
Char quoteChar, NodeData attr)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.XmlReader.IsStartElement(String name)
   at Elmah.SqlErrorLog.ErrorsXmlToList(XmlReader reader, IList
errorEntryList) in c:\builds\ELMAH\src\Elmah\SqlErrorLog.cs:line 310
   at Elmah.SqlErrorLog.GetErrors(Int32 pageIndex, Int32 pageSize, IList
errorEntryList) in c:\builds\ELMAH\src\Elmah\SqlErrorLog.cs:line 186
   at Elmah.ErrorLogPage.OnLoad(EventArgs e) in
c:\builds\ELMAH\src\Elmah\ErrorLogPage.cs:line 76
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.I
ExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)

Original issue reported on code.google.com by steve.go...@gmail.com on 21 Jan 2010 at 9:16

GoogleCodeExporter commented 9 years ago
This is happening again ... can I send you a db export or something to help 
figure
this out?

Original comment by steve.go...@gmail.com on 28 Jan 2010 at 1:45

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 28 Jan 2010 at 8:41