Gravatar for

Question by Rik, Apr 21, 2017 2:39 PM

CM - CD configuration

Hi Coveo gurus.

We had a tough time setting up the coveo environment with a lot of licensing and other problems.

We got a setup with 1 CM and 1 CD server and have now succeeded in configuring the CM server as it should.
We have CES on premise

On the CM the diagnostic page is all green and the search page works. We're getting relevant search results, so that is fine.

We're following this page to set up the CD:

We have

- Changed the source names

- configured the farm name

- reindexed

- Configured the UseHostHeaderForRequestURL Setting

- copied the content of the files section of the coveo for sitecore install package

- copied the config files from CM to CD

- activated the switchmastertoweb.config

- skipped the Sitecore login validation and credentials update

So I think we've covered it all.

Now our search page on CD returns an exception:

7008 15:50:57 WARN Precondition failed: The parameter 'm_CloudPlatformConfiguration' must not be null
7008 15:50:57 ERROR Exception occurred while trying to validate license in the content editor. Features will be disabled.
Exception: System.ArgumentNullException
Message: Precondition failed: The parameter 'm_CloudPlatformConfiguration' must not be null
Parameter name: m_CloudPlatformConfiguration
Source: Coveo.Framework
at Coveo.Framework.CNL.Precondition.NotNull(Object p_Parameter, String p_ParameterName)
at Coveo.SearchProvider.Licensing.CloudLicenseRetriever.GetLicense(Boolean p_ForceRetrieve)
at Coveo.SearchProvider.Licensing.Cloud.LicenseRetriever.GetLicense(Boolean p_ForceRetrieve)
at Coveo.SearchProvider.Licensing.LicenseManager.RetrieveLicense(Boolean p_ForceUpdate)
at Coveo.SearchProvider.Licensing.LicenseManager.IsLicenseValid()

Any idea what we have to do to get the CD working?
We can't do anything in sitecore since that is disabled on CD (as it should)

Best regards,


1 Reply
Gravatar for

Answer by Dominic Berube, Apr 21, 2017 2:47 PM

Hi Rik,

Are you sure you have the Coveo.CloudPlatformClient.Custom.config file in the Include/Coveo folder of your CD? In the showconfig, you should see a section

<cloudPlatformConfiguration type="Coveo.Framework.Configuration.CloudPlatformConfiguration, Coveo.Framework">
Gravatar for

Comment by Rik, Apr 21, 2017 2:56 PM

Yep, config is present.

It has been copied from the CM as instructed in the manual.

<cloudPlatformConfiguration type="Coveo.Framework.Configuration.CloudPlatformConfiguration, Coveo.Framework">

Showconfig is not present on the CD

Gravatar for

Comment by Rik, Apr 24, 2017 9:58 AM

Ok, enabled sitecore on the CD and no coveo changes were in the showconfig.

Aparently the appool account had no access.

Thanks for pointing me in the right direction, Dominic

Ask a question