Missing Valid xDB License
Missing Valid xDB License
This issue affects Sitecore versions 8.1 and above.
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:
-
Open the
Sitecore.Xdb.config
configuration file, located in the/App_Config/Include
folder of your Sitecore instance, in a text editor. -
Locate the
Xdb.Enabled
setting.<setting name="Xdb.Enabled" value="true" />
-
Set the value of the
value
attribute tofalse
.<setting name="Xdb.Enabled" value="false" />
-
Locate the
Xdb.Tracking.Enabled
setting.<setting name="Xdb.Tracking.Enabled" value="true" />
-
Set the value of the
value
attribute tofalse
.<setting name="Xdb.Tracking.Enabled" value="false" />
-
Save the file.