Issue with License Key Not Valid for Xperience by Kentico (Version 30.0.0) Using .NET 8

2024/12/23 9:16 AM

Hello,

I'm facing an issue with the Kentico Xperience DBManager tool. I am attempting to install Xperience by Kentico version 30.0.0 using the following command:

dotnet kentico-xperience-dbmanager -- -s "SYN-009202" -a "admin" -d "Xperience.Kickstart.Lucene" --license-file "D:\POC\Kentico\src\License\License.txt"

During the process, I get the following error:

The entered license key is not valid.

The issue is that the same license key was working correctly with the previous version of Kentico Xperience, but it's failing with the new version.

Environment:

  • Xperience by Kentico version: 30.0.0
  • .NET version: 8
  • OS: Windows 11 (64-bit)

Steps Taken:

  1. I’ve verified that the license file is located at D:\POC\Kentico\src\License\License.txt and is accessible.
  2. I’ve tried re-downloading the license file and using a simpler file path (e.g., C:\license.txt), but the issue persists..

Questions:

  1. Why would a license key that worked with a previous version of Kentico Xperience no longer be valid for the current version (30.0.0)?
  2. Is there a compatibility issue with the license format or version-specific restrictions between Xperience 30.0.0 and my existing license?
  3. What steps should I take to resolve the license issue or ensure the new license works with this version?

Any help or suggestions would be greatly appreciated!


Answers

2024/12/23 5:45 PM
Answer

In July we announced that Xperience by Kentico was switching to a new license key format.

Then, in October we announced customers were required to use the new license key format to be supported by Kentico, and the Changelog for that Refresh stated the new license key format transition period had ended.

Since v30.0.0 is a major version number change, we used it as an opportunity to remove the old Licenses administration application and all related APIs from the product.

You can read about how to manage and understand the new license key format in docs.

2024/12/24 5:41 AM

@Sean Wright
Also, I am getting the following error while installing the database:

Error installing the database. Original message: The number of entries expected in the End Of Central Directory does not correspond to the number of entries in the Central Directory.

2024/12/28 5:47 PM

I don't think that error is related to Xperience - Central Directory is not a term we use for any of our product features.

I think your database server or network infrastructure is returning and error to the SQL commands we run in the database installer .NET global tool.

I recommend installed the database to a local SQL Express instance or Docker SQL Server instance, which will reduce the possibility of server/network issues.

To answer this question, you have to login first.