Common Solr Issues during Site Registration

  • Updated

The following issues may occur when you try to register your site with Solr:

  1. The SolrAdminConsole comes up as a blank white page.
  2. Error message in SolrAdminConsole:  Cannot connect to registration service .
  3. Cannot connect to CMS server or find CMS sites.
  4. Error when trying to register site: Cannot connect to CMS Database.

The SolrAdminConsole comes up as a blank white page

  • Static Content Role is not installed on the Solr server.

Error message in SolrAdminConsole: Cannot connect to registration service .

  • WCF Activation not enabled (http and non-http) on the Solr server.
  • Wrong version of .NET 4.5 (needs to be .NET 4.5 FULL, not client).
  • ASP.NET registration with IIS (aspnet_regiis -I) wasn't previously completed.

Cannot connect to CMS server or find CMS sites

  • The CMS and Solr servers cannot communicate by machine name.
  • The ports 8732 and 7600-7609 are not open on the Solr server.
  • The Ektron Window Service is not fully started on the CMS server.
  • The wspath in the CMS site's web.config does not match the ServerControlWS.asmx url from IIS or is localhost.

Error when trying to register site: Cannot connect to CMS Database.

  • Connectionstring for the site is not correct, or there is a connectivity issue with SQL.

The SolrAdminConsole comes up as a blank white page.

Error message in SolrAdminConsole:  Cannot connect to registration service.

  • WCF Activation not enabled (http and non http) on the Solr server.
    1. Go to Start Control Panel  Programs Programs and Features .
    2. On the Tasks menu, click Turn Windows features on or off .
    3. Find the .NET3.5/4.5 node and expand it.
    4. Enable the WCF HTTP and Non-Http Activation Components box and click Save .
  • Wrong version of .NET 4.5 (needs to be .NET 4.5 FULL, not client).

Cannot connect to CMS server or find CMS sites

  • The CMS and Solr servers cannot communicate by machine name.
    1. Add a host file ( C:\Windows\System32\drivers\etc ) entry on the Solr server to have the CMS server's machine name and IP address.
    2. Add a host file ( C:\Windows\System32\drivers\etc ) entry on the CMS server to have the Solr server's machine name and IP address.
  • The ports 8732 and 7600-7609 are not open on the Solr server.
    • Verify with your IT/Network team that those ports are open and that there is not a firewall blocking them. 
  •   The EktronWindowService is not fully started on the CMS server.
    • The error you will typically see on the CMS server is the EWS is started BUT is NOT fully functional. The following article will assist with that error. If it shows No CMS site's in IIS, check the wspath .
    • The wspath in the CMS site's web.config does not match the ServerControlWS.asmx url from IIS and/or is localhost. (see Knowledge Base).

Error when trying to register site: Cannot connect to CMS Database .

  • Check CMS site's connectionstring .
    • Do you have integrated security set to false?
    • Does it have correct credentials in SQL; that is database_owner credentials? 
    • Does the Solr user have dbo privileges to the CMS database?
  • Ensure that the SQL Browser Service is started/enabled on the SQL database server.