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 ExtensionsModulesModulesUpdate of module settings failsUpdate of module settings fails
Previous
 
Next
New Post
8/31/2016 5:01 AM
 
Hi

I would like to take an existing module under 'System > Extensions' and add the Business Controller class afterwards because I had to make the module 'Searchable'.

The following error message appears (in german):

-----
Fehler: ist zur Zeit nicht verfügbar. DotNetNuke.Services.Exceptions.ModuleLoadException: Der Wert darf nicht NULL sein. Parametername: type ---> System.ArgumentNullException: Der Wert darf nicht NULL sein. Parametername: type bei System.Activator.CreateInstance(Type type, Boolean nonPublic) bei System.Activator.CreateInstance(Type type) bei DotNetNuke.Entities.Modules.DesktopModuleController.CheckInterfacesImplementation(DesktopModuleInfo& desktopModuleInfo) bei DotNetNuke.Entities.Modules.DesktopModuleController.UpdateModuleInterfaces(DesktopModuleInfo& desktopModuleInfo, String sender, Boolean forceAppRestart) bei DotNetNuke.Modules.Admin.Extensions.ModuleEditor.UpdatePackage() bei DotNetNuke.Modules.Admin.Extensions.EditExtension.UpdatePackage(Boolean displayMessage) bei DotNetNuke.Modules.Admin.Extensions.EditExtension.OnUpdateClick(Object sender, EventArgs e) --- Ende der internen Ausnahmestapelüberwachung ---
-----

I've already tried that the files of the module and the classes are in the same namespace - unfortunately without success.
Does anyone of you know this problem and can give me a clue to the solution? Thank you very much.

We use DNN 08.00.03

Martin
 
New Post
8/31/2016 5:46 AM
 
most likely, the business controller class does not point to a valid class. are you using proper path?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/31/2016 7:04 AM
 
Hi

my Codefiles are located in App_Code > MaganSoft.Client.Product. The namespace is MaganSoft.Client.Product.Business, the Classname is ProductClientController.
My Controls are located in DesktopModules > MaganSoft.Client.Products. The namespace is - MaganSoft.Client.Products.

Under System > Extensions I try to update the module definition by adding the following 'BusinessControllerClass': MaganSoft.Client.Product.Business.ProductClientController, MaganSoft.Client.Product.Business
I also implemented ModuleSearchBase in ProductClientController class.

Am I missing something?

Regards, Martin
 
New Post
9/1/2016 5:05 AM
 
Do you think it's better to change this module to a WebApplication-module? Or should it also work fine with a WSP-module?
 
New Post
9/1/2016 7:54 AM
 
most of the modules now are WAP, but AFAIK, WSP is still supported. Did you make sure, you are using proper namespace for the business controller?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUpdate of module settings failsUpdate of module settings fails


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