Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logfile system.xml.xmlException Error #33

Closed
SCUR0 opened this issue Feb 15, 2018 · 2 comments
Closed

logfile system.xml.xmlException Error #33

SCUR0 opened this issue Feb 15, 2018 · 2 comments

Comments

@SCUR0
Copy link

SCUR0 commented Feb 15, 2018

I've been getting this error posted in logs at random:

2018-02-09 18:46:02.0660|ERROR|FileLogger|System.Xml.XmlException: '�', hexadecimal value 0x01, is an invalid character. Line 5, position 31.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.ParseText()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlCharCheckingReader.Read()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at IPBan.IPBanService.ParseXml(String xml)
   at IPBan.IPBanService.ProcessXml(String xml)
   at IPBan.IPBanService.EventRecordWritten(Object sender, EventRecordWrittenEventArgs e)
@jjxtra
Copy link
Collaborator

jjxtra commented Feb 27, 2018

I've checked in a fix for this.

@jjxtra jjxtra closed this as completed Feb 27, 2018
@SCUR0
Copy link
Author

SCUR0 commented Mar 7, 2018

This is not fixed. I am still getting this error at random:

2018-03-07 10:42:48.9290|ERROR|FileLogger|System.Xml.XmlException: '�', hexadecimal value 0x01, is an invalid character. Line 5, position 31.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.ParseText()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlCharCheckingReader.Read()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at IPBan.IPBanService.ParseXml(String xml) in C:\Users\Jeff\Documents\GitHub\Windows-IP-Ban-Service\IPBanService.cs:line 249
   at IPBan.IPBanService.ProcessXml(String xml) in C:\Users\Jeff\Documents\GitHub\Windows-IP-Ban-Service\IPBanService.cs:line 492
   at IPBan.IPBanService.EventRecordWritten(Object sender, EventRecordWrittenEventArgs e) in C:\Users\Jeff\Documents\GitHub\Windows-IP-Ban-Service\IPBanService.cs:line 516

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants