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 ExtensionsModulesModulesSearch indexing module that does not support ISearchableSearch indexing module that does not support ISearchable
Previous
 
Next
New Post
8/24/2010 5:12 AM
 
I have a module that does not need to be searchable. The business controller class does not implement the ISearchable interface, and I understand that is all I need to do to disable that feature. However, if I reindex the site contents, I get repeated errors such as the one below in the Event Log, showing that the Search service has attempted to index the content.

Is there something else I need to do to prevent this happening? Or does the Search service just go through all module controllers without testing to see if they support ISearchable?

 
AssemblyVersion: 5.4.2
PortalID: 5
PortalName: Dotcom Software Solutions Ltd
UserID: 8
UserName: paul
ActiveTabID: 29
ActiveTabName: Search Admin
RawURL: /tabid/29/portalid/5/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://.../tabid/29/portalid/5/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e87880b4-f392-4d15-accb-f337b3e0f41d
InnerException: Error Creating BusinessControllerClass 'Dotcom.Modules.LicenceMaster.LicenceMasterController' of module(Dotcom.LicenceMaster) id=(1759) in tab(611) and portal(5)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Activator.CreateInstance
StackTrace:
Message: System.Exception: Error Creating BusinessControllerClass 'Dotcom.Modules.LicenceMaster.LicenceMasterController' of module(Dotcom.LicenceMaster) id=(1759) in tab(611) and portal(5) ---> System.ArgumentNullException: Value cannot be null. Parameter name: typeat System.Activator.CreateInstance(Type type, Boolean nonPublic)at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey)at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)--- End of inner exception stack trace ---at DotNetNuke.Services.Search.ModuleIndexer.GetModuleList(Int32 PortalID)
Source:
Server Name: DWIN11


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
New Post
8/24/2010 5:22 AM
 
May be you have this class BusinessControllerClass in your installation .dnn file? Then you should remove it. Sure if you do not use IExportable too.
 
New Post
8/24/2010 5:25 AM
 
it looks like the module definition does not include proper business controller class declaration, which seems to be read prior to checking the iSearchable flag (which might be an optimization improvement, but this is a different story). Please validate the entry for the Controller class in yuor module definition or clear it, if iPortable isn't supported either.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/24/2010 6:34 AM
 
Well spotted. I had changed the namespace of the business controller and forgot to update the .dnn. Problem solved.


Paul Taylor
Dotcom Software Solutions Ltd
DotNetNuke, ASP.NET and SQL Server Development
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesSearch indexing module that does not support ISearchableSearch indexing module that does not support ISearchable


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