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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Method not found 'GetSearchItems'Method not found 'GetSearchItems'
Previous
 
Next
New Post
6/30/2014 7:04 AM
 

 

The Scheduler keeps throwing this error, doesn't anyone know what is causing the exception?

 

AssemblyVersion:7.3.1

.......

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:c734e3a1-4452-4a17-b064-ac04033e0472

InnerException:Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetSearchItems(Int32, Int32, Int32)'.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:DotNetNuke.Services.Search.SearchDataStoreController.GetSearchItems

StackTrace:

Message:

System.MissingMethodException: Method not found: 'System.Data.IDataReader DotNetNuke.Data.DataProvider.GetSearchItems(Int32, Int32, Int32)'.
   at DotNetNuke.Services.Search.SearchDataStoreController.GetSearchItems(Int32 ModuleId)
   at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection SearchItems)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent(DateTime startDate)
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

 

 
New Post
7/2/2014 3:08 PM
 
hmm, seems like an upgrade gone wrong. Can you post a list of all your scheduled tasks?

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
7/2/2014 3:46 PM
 

Erik is correct - the 7.3.1 (in AFAIR 7.3.0) version of DotNetNuke.Services.Search.SearchDataStoreController does have GetSearchItems, but it's implementation looks like this:

  [Obsolete("Deprecated in DNN 7.1.2  Implementation changed to return empty result set")]



        public static ArrayList GetSearchItems(int PortalId, int TabId, int ModuleId)



        {



            var empty = new ArrayList();



            return empty;



        }

In other words that the exception you see with the missing method should not apply in 7.3.1 as the code does not contain that method - I suggest you right click the dotnetnuke.dll in your BIN folder and check and see what version it actually is


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/3/2014 5:05 AM
 
The DotNetNuke.dll file located in the bin folder shows version 7.3.1.20 and dated 25/06/2014.
 
New Post
7/3/2014 3:01 PM
 
not sure what it might be - as Erik asked can you post your list of scheduled items in case something is wrong there

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Method not found 'GetSearchItems'Method not found 'GetSearchItems'


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