Error: DotNetNuke module development

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ssnaik84
    New Member
    • Aug 2009
    • 149

    Error: DotNetNuke module development

    Hello,

    I'm first time working on DotNetNuke module development.
    I created and installed a sample module. It installed successfully.
    but when I'm going to add into a page, it's giving me following error:

    Code:
    DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 
    'YourCompany.Modules.TCModule.ViewTCModule'. ---> 
    System.Web.HttpParseException: Could not load type 'YourCompany.Modules.TCModule.ViewTCModule'. ---> 
    System.Web.HttpParseException: Could not load type 'YourCompany.Modules.TCModule.ViewTCModule'. ---> 
    System.Web.HttpException: Could not load type 'YourCompany.Modules.TCModule.ViewTCModule'. at System.Web.UI.TemplateParser.GetType
    (String typeName, Boolean ignoreCase, Boolean throwOnError) at ....
    Let me know.. where I'm going wrong..

    Thanks in Adv.
    Swapnil
  • ssnaik84
    New Member
    • Aug 2009
    • 149

    #2
    I googled... I guess it's DNN versioning problem.

    you can not add a module developed in higher version.. into DNN website of lower version

    Comment

    • JamieHowarth0
      Recognized Expert Contributor
      • May 2007
      • 537

      #3
      Hi ssnaik,

      You can, but you must target your version specifically to support previous versions using the module manifest files, along with ensuring that you don't use features from newer versions - DotNetNuke sources are available for older versions so you can use those for developing modules, most modules that I've come across are written to support either 4.5.5 onwards or 4.7.x onwards.

      Hope this helps,

      codegecko

      Comment

      Working...