Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Log Visor not working after upgradeLog Visor not working after upgrade
Previous
 
Next
New Post
1/2/2007 3:56 AM
 

Hello, after upgrading from DNN 4.3.7 to 4.4.0 the log visor is not working anymore. The following error appears:

DotNetNuke.Services.Exceptions.ModuleLoadException: Element 'LogProperties' was not found. Line 1, position 2. ---> System.Xml.XmlException: Element 'LogProperties' was not found. Line 1, position 2. at System.Xml.XmlReader.ReadStartElement(String name) at DotNetNuke.Services.Log.EventLog.LogProperties.Deserialize(String content) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.FillLogInfo(IDataReader dr) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Services.Log.EventLog.LogController.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) 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 ---

Any idea on how to fix this issue ? Thanks anticipated

 
New Post
1/2/2007 4:11 AM
 

Apparently there was a change in logging, which causes an error when viewing older log entries. You can clear the log by executing this script from host > sql:

delete from {databaseOwner}{objectQualifier}EventLog

HTH


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/2/2007 4:45 AM
 
Thanks a lot. Now it works fine again !
 
New Post
1/30/2007 8:20 PM
 
if you need to maintain old log records, you can modify the DotNetNuke.Provider.DBLoggingProvider.dll.

its at line 111 in the DBLoggingProvider.vb file in the Provider.DBLoggingProvider project (dnn source). theres no catch block (i cant figure out why). anyways, i just wrapped the offending line in its own try/catch block:

Try
    obj.LogProperties.Deserialize(Convert.ToString(dr("LogProperties")))
Catch

End Try

this of course requires a recompile and deployment of this dll. it worked for me. if anyone needs a recompiled dll, just email me.


walter
 
New Post
2/8/2007 6:43 PM
 

 

Thanks for finding that and posting Walter.  I'm going to crush that pesky little bug in my build right now.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Log Visor not working after upgradeLog Visor not working after upgrade


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out