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 ExtensionsModulesModulesModule Template (by Chris Hammond) causes search errors in DNN logModule Template (by Chris Hammond) causes search errors in DNN log
Previous
 
Next
New Post
2/2/2011 2:41 AM
 
Hi everyone

I've used this template by Chris Hammond, the director of training at DNNcorp, to develop a small custom module for our DNN 5.5.1 server.

The sourcecode is almost untouched, as I've only added a few lines of code into the Page_Load function of the View.ascx.cs. This proves a problem however when the module is getting indexed by the DNN Seach (or whatever process is causing this) as shown in the DNN log:
AssemblyVersion: 5.5.1
PortalID: -1
PortalName
UserID: -1
UserName
ActiveTabID: -1
ActiveTabName
RawURL
AbsoluteURL
AbsoluteURLReferrer
UserAgent
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a08e631b-1f3a-41a8-97e4-fe8727764186
InnerException: The method or operation is not implemented.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.***.Components.FeatureController.GetSearchItems
StackTrace
Message: System.NotImplementedException: The method or operation is not implemented. at DotNetNuke.Modules.***.Components.FeatureController.GetSearchItems(ModuleInfo ModInfo) at DotNetNuke.Services.Search.ModuleIndexer.GetSearchIndexItems(Int32 PortalID)
Source
Server Name: ***

Well it seems that my module is missing the implementation of the method GetSearchItems, but I really don't know how to implement that or how to tell DNN that it's not searchable. Can anyone help with that? :)
 
New Post
2/2/2011 4:21 AM
 
Rune,
The template comes preconfigured with stubbed out code for ISearchable and IPortable. If you want to turn these off you should edit the .DNN manifest file for your module, and remove the *.FeatureController reference in the business controller node you could put <BusinessController /> in to make it empty.

After you do that you could also remove the FeatureController class altogether.

Or you could leave the .DNN file and simply remove the ISearchable mention in the FeatureController class

I hope that helps, 

Chris

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule Template (by Chris Hammond) causes search errors in DNN logModule Template (by Chris Hammond) causes search errors in DNN log


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