Products

Solutions

Learn More

Partners

Community

Blog

About

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 ...help with rror in custom modulehelp with rror in custom module
Previous
 
Next
New Post
1/27/2014 8:31 PM
 

Can anyone help with this error in a custom module on my site:

 Thank you

AssemblyVersion:7.1.2

PortalID:-1

PortalName:

UserID:-1

UserName:

ActiveTabID:-1

ActiveTabName:

RawURL:

AbsoluteURL:

AbsoluteURLReferrer:

UserAgent:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:2fd35bbe-29ef-4938-b636-a9a2a6f352d4

InnerException:Error Creating BusinessControllerClass 'County.Modules.CountyBanner.CountyBannerController' of module(CountyBanner) id=(550) in tab(206) and portal(0)

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Activator.CreateInstance

StackTrace:

Message:

System.Exception: Error Creating BusinessControllerClass 'County.Modules.CountyBanner.CountyBannerController' of module(CountyBanner) id=(550) in tab(206) and portal(0) ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 portalId) --- End of inner exception stack trace --- at DotNetNuke.Services.Search.ModuleIndexer.ThrowLogError(ModuleInfo module, Exception ex)

 

Source:

Server Name: SCZAS67

 

 
New Post
2/4/2014 7:02 AM
 

Hi Tom,

Does CountyBannerController have a parameterless constructor? If not, try to create one. If you need to call an existing contructor with parameters, use:

public CountyBannerController() : this(param1, param2, ...) { ... }

thanks

Kris

 
New Post
2/6/2014 2:51 PM
 

Thanks. That helped me to get to the bottom of it and fix the error. I appreciate it.

 

Tom

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...help with rror in custom modulehelp with rror in custom module


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW