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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesError "Could not load type" on DotNetNuke.ComponentModel.ComponentBaseError "Could not load type" on DotNetNuke.ComponentModel.ComponentBase
Previous
 
Next
New Post
2/25/2011 5:03 PM
 
Hello, people

I develop a module and by now no one had any problems, but under one installation I'm getting this strange error. I don't know where to start, so any help will be appreciated

ModuleId: 1758
ModuleDefId: 211
FriendlyName: Social Sharing Sites
ModuleControlSource: DesktopModules/STP/xxx.ascx
AssemblyVersion: 5.4.4
PortalID: 2
PortalName: Vogue Knitting
UserID: 3
UserName: vk_admin
ActiveTabID: 702
ActiveTabName: 2scratch4pad
RawURL: /2scratch4pad.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 539a639c-3086-4c54-94a2-fecd908432f1
InnerException: Could not load type 'DotNetNuke.ComponentModel.ComponentBase`2' from assembly 'DotNetNuke, Version=5.4.4.2, Culture=neutral, PublicKeyToken=null'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: xxx.LoadSSS
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'DotNetNuke.ComponentModel.ComponentBase`2' from assembly 'DotNetNuke, Version=5.4.4.2, Culture=neutral, PublicKeyToken=null'. ---|> System.TypeLoadException: Could not load type 'DotNetNuke.ComponentModel.ComponentBase`2' from assembly 'DotNetNuke, Version=5.4.4.2, Culture=neutral, PublicKeyToken=null'.at xxx.LoadSSS()at xxx.Page_Load(Object sender, EventArgs e)--- End of inner exception stack trace ---
Source:
Server Name: 208373-2
 
New Post
2/25/2011 11:09 PM
 
Apparently your module was compiled with a reference to DotNetNuke.dll assemblv version 5.5.0 or later which introduced the DotNetNuke.ComponentModel.ComponentBase class for the first time. In the error message, the module is installed in a site running DotNetNuke v 5.4.4.2. When building a module, it must be compiled against the lowest version of the DotNetNuke framework that will be supported.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/26/2011 1:42 AM
 
Excellent!

Thanks very much for the exact response.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesError "Could not load type" on DotNetNuke.ComponentModel.ComponentBaseError "Could not load type" on DotNetNuke.ComponentModel.ComponentBase


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