THIS IS ARCHIVED DOCUMENTATION

Missing Valid xDB License

In this article

Symptoms

When opening a Coveo-Powered Search Page in the experience editor, the following exception occurs:

[LicenseException: Missing valid xDB license.]
    Sitecore.Analytics.DataAccess.DataAdapterProvider..ctor() +86
    Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider..ctor(Func`2 driverFactory) +20

Cause

Sitecore added an additional key to its license. Sitecore 8.1 requires this new key to enable xDB features. If you run into this issue, either:

  • Your license doesn’t contain this new key.

  • Your license doesn’t allow xDB features.

Resolution

Solution 1

Get a license with xDB features enabled (see Sitecore Experience Platform 8.1 Initial Release).

Solution 2

Disable xDB in your configuration:

  1. Open the Sitecore.Xdb.config configuration file, located in the /App_Config/Include folder of your Sitecore instance, in a text editor.

  2. Locate the Xdb.Enabled setting.

    <setting name="Xdb.Enabled" value="true" />
  3. Set the value of the value attribute to false.

    <setting name="Xdb.Enabled" value="false" />
  4. Locate the Xdb.Tracking.Enabled setting.

    <setting name="Xdb.Tracking.Enabled" value="true" />
  5. Set the value of the value attribute to false.

    <setting name="Xdb.Tracking.Enabled" value="false" />
  6. Save the file.