EasyXLS

Why do I get "Invalid license key!" error?

Concept

When running EasyXLS Excel component, the code throws one of the following errors, depending on the used EasyXLS library version:
EasyXLS Trial for .NET 8.6.0 is not properly installed! Invalid license key!
EasyXLS Professional for .NET X.x.0 is not properly installed! Invalid license key!
EasyXLS Writer for .NET X.x.0 is not properly installed! Invalid license key!
EasyXLS Reader for .NET X.x.0 is not properly installed! Invalid license key!
EasyXLS Express Writer for .NET X.x.0 is not properly installed! Invalid license key!
EasyXLS Trial for Java 8.6.0 is not properly installed! Invalid license key!
EasyXLS Professional for Java X.x.0 is not properly installed! Invalid license key!
EasyXLS Writer for Java X.x.0 is not properly installed! Invalid license key!
EasyXLS Reader for Java X.x.0 is not properly installed! Invalid license key!
EasyXLS Express Writer for Java X.x.0 is not properly installed! Invalid license key!

Possible reason #1: EasyXLS is not installed

Make sure that you have installed EasyXLS version specified in the error with a server, developer or trial license key, or you have an OEM license set on the machine.
The trial license key is set at runtime during the installation and it is not required to be manually entered on the installations screens.
For server and developer edition, go to Control Panel/Add or Remove Programs and search for the EasyXLS version in the displayed list.

Possible reason #2: Permission issues

If an EasyXLS license key is present and you still get the error, you might experience some permission problems. Please make sure you had the right permissions during the installation process and also that the application that uses EasyXLS has permissions.

Possible reason #3: License key and EasyXLS.dll/EasyXLS.jar mismatch

Make sure that you are not using the EasyXLS.dll or EasyXLS.jar file provided by the Trial version with a Professional, Excel Reader, Excel Writer or Express Excel Writer license, or any other combination of EasyXLS versions.

Possible reason #4: Windows 64-bit, Visual Studio project and EasyXLS.dll for 32-bit

If the EasyXLS version for 32-bit is used on a Windows 64-bit operating system, check the project properties and make sure that on the Build tab, the Platform Target is set to x86 and not Any CPU or x64.

Visual Studio, project properties on Build tab

Possible reason #5: Windows 64-bit, IIS and EasyXLS.dll for 32-bit

If the EasyXLS version for 32-bit is used on a Windows 64-bit operating system, make sure that IIS allows running of 32-bit applications.
Open Internet Information Services (IIS) Manager on Control Panel/Administrative Tools. Select Application Pools and the application pool associated with your web application.

IIS Application Pools

Select Advanced Settings and check if Enable 32-bit Application option is set to true.

IIS 32bit applications

Possible reason #6: EasyXLS.jar and wrong location or permissions for "user.home" property

If "user.home" property in Java cannot be accessed or it points to a wrong location, this property must be changed from the application to the user directory that installed EasyXLS or any other user directory.

Under Windows:
System.setProperty("user.home", "C:\\Users\\MyUser");

Under Linux:
System.setProperty("user.home", "/home/MyUser");

Contact us for any other reasons

If none of the above, contact us at support@easyxls.com with details about your application configuration and the full error message.


Available for: Professional, Excel Writer, Excel Reader, Express Excel Writer
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
.NET Excel Writer
.NET version to create and export Excel files
.NET Excel Reader
.NET version to read and import Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Java Excel Writer
Java version to create and export Excel files
Java Excel Reader
Java version to read and import Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2010
MS Excel 2013
MS Excel 2016
MS Excel 2019
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT