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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Critical ErrorCritical Error
Previous
 
Next
New Post
3/27/2006 4:08 PM
 

Another humble appeal to DNN gurus... this may sound pretty kiddie to you guys but I'm fairly new to this setup... We've had this error on our website before, and I am wondering how to go about fixing this myself. We've always had our friendly geek who set up the site fix it before. But last time our site was inaccessible for a full week and I think my boss is losing her patience. So I'm wondering how I would go about this myself. When I go to login to add new content using our admin login I get the following error message:

A critical error has occurred.
The log file for database 'archmil_DotNetNuke' is full. Back up the transaction log for the database to free up some log space.

Now, our guy just fixed this for us a week ago... I know not how it is possible that our transaction log could be full again in the first place, but how do I go about fixing this?

Your friendly greenie,

turnerarch

 
New Post
3/27/2006 5:59 PM
 

that's actually a sql server issue, not dotnetnuke. With SQL/MSDE the transaction log grows until the data is in a fixed state (known as a checkpoint), at which time the transaction log is truncated as the data integrity is guaranteed. How often these checkpoints happen depends on the level of logging you have set up, which is known as the recovery model. You can read about recovery models here

If you choose to stick with the default of full, then the transaction log will only truncate when you do a full database backup. You can do this either by a script, or a sql job, but the easiest way is to use maintenance plans . Often setting your database to backup nightly is enough to keep the logs down to a reasonable size, but you may want to do more regular backups depending on your site. As part of the maintenance wizard, you can also run some optimising tasks.

If this issue is happening every week or so, I would suggest that you're not backing up your database, so the transaction log never get's truncated. I'd recommend that you do at least nightly backups.

Note: In many sites I have, that don't change content too often, and aren't regarded as business critical, I change the recovery model to simple.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/27/2006 10:17 PM
 
You can use the following SQL command if you don't care about trying to preserve your SQL log:

Use YourDatabaseName

BACKUP LOG YourDatabaseName WITH NO_LOG
GO
DBCC SHRINKFILE (YourDatabaseName_log)
GO
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Critical ErrorCritical Error


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