ADMIN-->Log Viewer Error!!!

Last post 07-22-2005 2:02 PM by Inetcor. 1 replies.

Sort Posts:

  • ADMIN-->Log Viewer Error!!!

    07-22-2005, 10:10 AM
    • Member
      521 point Member
    • Vlince
    • Member since 11-17-2004, 9:58 AM
    • Montreal, Quebec, Canada
    • Posts 110

    Hello all!
    I'm getting an invalid character in the given encoding error when trying to open the Log Viewer.

    I'm logged in as Host and click ADMIN-->Log Viewer and get this result:

    Error: Log Viewer is currently unavailable.
    DotNetNuke.Services.Exceptions.ModuleLoadException: There is an error in XML document (1, 1458). ---> System.InvalidOperationException: There is an error in XML document (1, 1458). ---> System.Xml.XmlException: There is an invalid character in the given encoding. Line 1, position 1468. at System.Xml.XmlScanner.GetChars(Byte[] srcBuffer, Int32& srcOffset, Int32 srcLen, Char[] destBuffer, Int32 destOffset, Boolean zeroedOut) at System.Xml.XmlScanner.Read() at System.Xml.XmlScanner.ScanContent() at System.Xml.XmlTextReader.ParseBeginTagExpandCharEntities() at System.Xml.XmlTextReader.Read() at System.Xml.XmlReader.ReadElementString() at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLogProperties.Read1_LogDetailInfo(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLogProperties.Read2_Object(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLogProperties.Read4_ArrayOfAnyType() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.Deserialize(String str) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.FillLogInfo(IDataReader dr) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog() at DotNetNuke.Services.Log.EventLog.LogController.GetLog() at DotNetNuke.Modules.Admin.Log.LogViewer.BindData() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---


    Can anyone help me figure out *why* I'm getting this error ?
    and more importantly, how can I fix it!

    Many thanks in advance!
    Sincerely
    Vince
  • Re: ADMIN-->Log Viewer Error!!!

    07-22-2005, 2:02 PM
    • Member
      345 point Member
    • Inetcor
    • Member since 06-28-2005, 11:15 AM
    • Toronto, Canada
    • Posts 69
    It's a bug in DNN that has been logged in Gemini and will be fixed with the next release.

    Simply delete all the records from the "EventLog" table and the log viewer will start working again,

Page 1 of 1 (2 items)