Try our conversational search powered by Generative AI!

Search Re-index error using AddCommunityEntitiesToIndex


We recently worked on a project that required search results to include both CMS and Relate+ content - i.e. pages and Community data.

We used a solution that implemented the AddCommunityEntitiesToIndex method to gather Community content.

When running the indexing code, we saw an error "System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Current Status may not be set to None".

After many hours of trawling through possible solutions, we narrowed the error down to a couple of users that had their intStatus (in tblEPiServerCommunityUsers) set to "0" manually. After we set their status to "4" the re-index ran perfectly.

I'm hoping somebody may save a few hours by reading this post :)

Aug 26, 2011 7:58

Thanks, this would help!

Mar 19, 2012 15:15
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.