Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Database EventLog filesDatabase EventLog files
New Post
3/17/2015 9:34 AM

My hoster (Arvixe) says a database is really big- actually they clarified this to say it's one file having the EventLog files go back until we started web site - would like to keep since last update. but I could see removing the rest.  Not being able to get to SSMS at the moment due to a computer issue (unrelated) where does this file exist in the root directory that i might edit the content?  I can view it in the log viewer but cannot edit it.



New Post
3/17/2015 10:18 AM


you could try to execute the following command in Host :: SQL:

DELETE FROM {databaseOwner}{objectQualifier}EventLog WHERE LogCreateDate < DATEPART(dd, -7, GETDATE())

This will delete all eventlog entries older than a week. Please refer to the DATEADD function.

Anyway, this would not reduce the file size as long as you don't shrink the files - I can't give you any advice as I don't know about your specific setup, but something like DBCC SHRINKDATABASE and/or DBCC SHRINKFILE should do the trick.

Happy DNNing!

Michael Tobisch
DNN★MVP - The most vibrant community around the DNN-platform
DNN Connect 2020
New Post
3/17/2015 4:34 PM
if you are able to loose all entries inthedatabase, the fastest and easiest Option is executing the following Statement in Host > SQL
TRUNCATE Table {databaseOwner}{objectQualifier}EventLog
This does apply to all DNN Versions up to 07-03-04

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
New Post
3/17/2015 5:04 PM

ObjectQualifier would be ?  (an example)...this is very helpful 

New Post
3/17/2015 10:05 PM

I seem to not be able the get the syntax correct:

TRUNCATE  (dbo) TABLE EventLog or it references a foreign Key? (where dbo = name of database)

I tried several variations without success..

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Database EventLog filesDatabase EventLog files

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