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...5GB database error messages galore! HELP!5GB database error messages galore! HELP!
Previous
 
Next
New Post
6/19/2008 7:05 PM
 

I am well over my 125mb limit on a shared hosting plan, but the real issue is that I do not know what is casing the Datatbase to swell to over 5gb.  I cannot do simple things like delete portals (I only have 10 parent and child portals on one DNN install) and the site is not displaying properly.  My Shedule History log is 391mb and the event log was 35mb before I cleared it.  Here is a sample of the 70+ General Execptions that I am getting when I tried to delete a portal:

  6/19/2008 5:43:50 PM   General Exception       AssemblyVersion: -1; PortalID: -1; PortalName ...
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Value cannot be null. Parameter name: type
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)
Source:
Server Name: EIOSWWW2
and

  6/19/2008 5:13:27 PM   General Exception       AssemblyVersion: -1; PortalID: -1; PortalName ... AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Could not load type ''.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Web.HttpException: Could not load type ''. ---> System.ArgumentException: String cannot have zero length. at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack trace --- at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)
Source:
Server Name: EIOSWWW2

 

 
New Post
6/19/2008 7:50 PM
 

I doubt that deleting portals is going to help, so hold off doing that for a moment.

I can't see any reference in your post about dumping the db transaction log. Your host should have pointed to that. Ask them or look around your control panel for such an option. Or someone else here might have a shortcut for doing that.

Rob

 
New Post
6/19/2008 8:03 PM
 

Sorry, I should have noted that the transaction log was not too large, and I cleared the Event Log.  Only the Schedule History seemed inordinately large.  I have no way of viewing the Tables, and the host didn't know exactly what to look for in the database that would be the obvious culprit. 

 
New Post
6/19/2008 8:07 PM
 

Here's an SQL script I picked up here in the forums that clears the transaction log.

Use at your own risk:

BACKUP LOG db_Name WITH TRUNCATE_ONLY
TRUNCATE TABLE {databaseOwner}{objectQualifier}EventLog
TRUNCATE TABLE {databaseOwner}{objectQualifier}SiteLog
DBCC SHRINKDATABASE (db_Name);

Refer to:

http://www.dotnetnuke.com/Community/Forums/tabid/795/scope/threadsearch/fromdate/39233/todate/39619/pagesize/10/Default.aspx?body=DBCC+SHRINKDATABASE

 
New Post
6/19/2008 8:08 PM
 

First the probable fix for your issue (errors), Mitchel Sellers blogged about this sometime back, you can find his blog on this topic here.

Second, your DB size: you need to get your host to setup (if you don't have access to SQL in your hosted control panel) a backup with truncate_only plan (daily/weekly) for your DB transaction log file. This will stop the file from growing out of control.



 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...5GB database error messages galore! HELP!5GB database error messages galore! HELP!


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