In DNN 04.04.01, when sending an entry from the log viewer to an emailadress I'll get the following error:
ModuleId: 356
ModuleDefId: 79
FriendlyName: Log Viewer
ModuleControlSource: Admin/Logging/LogViewer.ascx
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: AZ DAMIAAN (test)
UserID: 2
UserName: admin
ActiveTabID: 48
ActiveTabName: Log Viewer
RawURL: /dnn/Admin/LogViewer/tabid/48/Default.aspx
AbsoluteURL: /DNN/Default.aspx
AbsoluteURLReferrer: http://localhost/dnn/Admin/LogViewer/tabid/48/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a798eea1-e854-4f53-ae0b-6cafa13cb678
InnerException: There was an error generating the XML document.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: There was an error generating the XML document. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type DotNetNuke.Services.Log.EventLog.LogDetailInfo was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLogInfo.Write1_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLogInfo.Write2_LogInfo(String n, String ns, LogInfo o, Boolean isNullable, Boolean needType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterLogInfo.Write3_LogInfo(Object o) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o) at DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetSingleLog(LogInfo LogInfo, ReturnType objReturnType) at DotNetNuke.Services.Log.EventLog.LogController.GetSingleLog(LogInfo objLogInfo, ReturnType objReturnType) at DotNetNuke.Modules.Admin.Log.LogViewer.GetSelectedExceptions() --- End of inner exception stack trace ---
In the body of the email i'll get there is only one sentence: <LogEntries></LogEntries>
We have this on our production DNN and all our testservers.