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 :)
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 :)