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 ExtensionsModulesModulesUnable to Add Custom Module to a Public PageUnable to Add Custom Module to a Public Page
Previous
 
Next
New Post
6/21/2018 4:36 PM
 

I'm developing a custom module and wanted to install the latest version on my local development server to gauge progress and track issues.  I created a new public page and tried to add the installed module to the page.  When clicking the plus sign on the edit section of the page for the custom module, the module is not added.  A check of the admin logs shows the following:

 

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:90727585-209d-434b-8847-f6fa434d8939

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:wU8iYxuIkTJMw1u9pq/+WJP3l+o=

Message:Value cannot be null. Parameter name: type

StackTrace:

at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.UI.Skins.Pane.IsVesionableModule(ModuleInfo moduleInfo) at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)

 

InnerMessage:

InnerStackTrace:


 

Source:mscorlib

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:


While this doesn't appear to be specific to my custom module, I'm not certain what's causing the error or how to rectify?  Any guidance is greatly appreciated.

 

Thanks,

Sid

 
New Post
6/21/2018 7:21 PM
 
this seems to be caused by the system when trying to load all modules on the page. does this happen as well, if you uninstall your module?
Did you check moduledefinitions and modulecontrols settings in Extensions?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/27/2018 3:56 AM
 

Hi Sebastian,

Apologies for the tardy response.  I'm using Chris Hammond's module template and found an errant View.ascx that was in the DNN file but a file by that name did not exist in the solution.  I edited the DNN file, uninstalled the module and reinstalled it.  An error occurred when attempting to place the module on page:

AbsoluteURL:/API/PersonaBar/Extensions/GetInstalledPackages

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:a0ef7dbe-c4af-4c40-aef7-cf36ddb04da3

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:4BkFyt5F3GA3X/Gi1iDrr03AWXw=

Message:Value cannot be null. Parameter name: type

StackTrace:

at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Entities.Modules.EventMessageProcessor.UpgradeModule(EventMessage message)

 

InnerMessage:

InnerStackTrace:


 

Source:mscorlib

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: QFPServer

 

I know this is a different error but am still unsure what is needed to remedy the issue?

 

Thanks,

Sid

 
New Post
7/3/2018 1:05 AM
 
this is an error from upgrade module procedure. Please make sure, all modules from the template are included in your package.
A new template has been released today, see http://www.dnnsoftware.com/community-...

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/3/2018 5:35 PM
 

Hi Sebastian,

Thanks for sending this over.  I reviewed the link you provided but did not see support for web forms modules in that module templating command line solution.  Can Chris Hammond's template still be used, or are they no longer being supported?  Please elaborate a bit further as to what needs to be updated - a change to a different module development template system, or an update to Chris Hammond's module template.

Thanks,

Sid

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUnable to Add Custom Module to a Public PageUnable to Add Custom Module to a Public Page


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