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.configconfiguration file, located in the/App_Config/Includefolder of your Sitecore instance, in a text editor. -
Locate the
Xdb.Enabledsetting.<setting name="Xdb.Enabled" value="true" /> -
Set the value of the
valueattribute tofalse.<setting name="Xdb.Enabled" value="false" /> -
Locate the
Xdb.Tracking.Enabledsetting.<setting name="Xdb.Tracking.Enabled" value="true" /> -
Set the value of the
valueattribute tofalse.<setting name="Xdb.Tracking.Enabled" value="false" /> -
Save the file.