0

Just loaded Sitecore 10.1 locally, and was successful bringing up the generic Sitecore Site. Then I published my Website which is our live production site to come up, pointed my connectionStrings to my DEV environment, but this error message is now coming up, not sure where to look:

Could not find add method: AddIndex (type: Sitecore.ContentSearch.ContentSearchConfiguration)
5
  • Did you configure your Solr server in PRD environment? Nov 20, 2021 at 11:08
  • yes, and locally Nov 20, 2021 at 12:51
  • OK by default Sitecore 10.1 is using Solr search as default of search engine, you need to make sure that your local solr must be published to the internet. Try to host solr somewhere and update solr connection string correctly in ConnectionString.config check more for detail here: doc.sitecore.com/en/developers/101/… Nov 20, 2021 at 13:36
  • Thank you for your response, I will review and make certain that everything is correct Nov 20, 2021 at 15:02
  • Would also suggest to verify setting value for name="solr.search" in Connection String It should also point to target environment. Please also make sure solr instance accessible from the machine where setup has been done. Dec 3, 2021 at 4:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.