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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...InnerException: Value cannot be null. Parameter name: type & InnerException: Could not load type InnerException: Value cannot be null. Parameter name: type & InnerException: Could not load type ''.
Previous
 
Next
New Post
10/28/2007 2:27 PM
 

Hello all, I have been getting alot of the following errors lately. Usually grouped together. I have searched google and cannot find anything. So I thought I would post it here. Thank you in advance.

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


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

 
New Post
10/28/2007 7:06 PM
 

Hi Justin,

I think this may be the same error I see after installing new modules, but I am not completely sure.  

If you have access to your database, go to the DesktopModules table.   You may have some records in this table that have a -1 in the "supported features" field.   Set this value to 0 and the errors should stop.     Each time I install a module, I check for this value now, and I see it about 75% of the time.


Terence
TMMworld Dot Net Services
View Terence Maney's profile on LinkedIn
 
New Post
10/28/2007 9:49 PM
 

Seems to have worked.. Thank you

 
New Post
10/29/2007 5:50 AM
 

You can also run the following sql query

UPDATE DesktopModules
SET SupportedFeatures = 0
WHERE SupportedFeatures = -1

There's a blog article here that sheds some light on why these errors exist in the first place.

Paul

 
New Post
10/29/2007 12:04 PM
 

Yep that is the exact query I ran in sql mananger. Thank you for the link to article.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...InnerException: Value cannot be null. Parameter name: type & InnerException: Could not load type InnerException: Value cannot be null. Parameter name: type & InnerException: Could not load type ''.


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