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...How do I clean up these general exception events?How do I clean up these general exception events?
Previous
 
Next
New Post
3/10/2008 4:37 PM
 

Hi
I am getting a TON (about 50 appear every 30 minutes) of general exceptions on my event viewer and I am thinking they are related to ongoing performance trouble I'm having with the system. I haven't altered my web.config file in quite a while otherwise I'd try some of the suggestions on other posts. Would anyone be willing to take a peak at my site? the errors generally follow two main themes and are the following:

Version 1:

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: WY

Version 2:

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: WY

 

Any help would be fantastic as I try to clean up the site and make it perform like new :)
Thanks
Mike

 


Michael Emond
City of Manchester NH
www.manchesternh.gov
 
New Post
3/10/2008 5:30 PM
 

These typically are a result of bad data in your DesktopModules table in regards to the Supported Features for the modules installed on your site.  The easy fix is to run from Host-SQL "UPDATE {databaseOwner}{objectQualifer}DesktopModules SET SupportedFeatures = 0 WHERE SupportedFeatures = -1"

The issues has been fixed in one of the recent releases, but in older versions of DNN, if a module did not define a Business Controller Class, the installer would get confused and leave the "null" value of -1 in the SupportedFeatures Column, which ended up being translated as "Everything" instead of "Nothing" when DNN asked if your module supported features (like searching).  When DNN tries to search the module, it fails because the module doesn't actually support that.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
3/10/2008 8:37 PM
 

Thanks Brian, I will try it out. Do I enter it exactly as you have typed it or do I put values in the { }'s ? It won't hurt anything right? This is awesome though, rarely are solutions so straight forward. Thanks a ton!
Mike


Michael Emond
City of Manchester NH
www.manchesternh.gov
 
New Post
3/10/2008 8:50 PM
Accepted Answer 

Mike,

You can run the SQL statement exactly as Brian has entered it from the Host -> SQL window or remove the databaseowner and objectqualifier "tokens" and run the script in Management Studio or Query Analyzer (assuming you are not using an object qualifier and your database owner is DBO -- if not you'll need to set those to match what you are using.

The idea is to only update those that are set to -1 (which is invalid) - so it certainly should not hurt anything.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
3/11/2008 8:37 AM
 

Ok, I'll try it ou there. thanks so much to both of you for your help.
Mike


Michael Emond
City of Manchester NH
www.manchesternh.gov
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How do I clean up these general exception events?How do I clean up these general exception events?


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