Troubleshooting CodeTwo license status verification issue
Problem:
When you start your CodeTwo product, access the licensing information or start a job, you get the following errors:
Failed to verify the program license status. Check your internet connection and restart the program. System info: Value cannot be null. Parameter name: licenseKeyDesc
or
There was an error deserializing the object of type C2.Licensing.Models.Public.Responses.LicenseKeyResponse. The data at the root level is invalid. Line 1, position 1.
or
The license file is corrupted (0x02)
Because of that, you cannot reactivate your license key or run any jobs.
Solution:
These errors may occur if the program's licensing file gets corrupted. This usually happens as a result of an unexpected shutdown of the system (e.g. due to a sudden power failure). Although CodeTwo products are equipped with a mechanism that prevents file corruption caused by unexpected crashes, there are certain complex situations that cannot be handled.
To fix this issue, try deleting corrupted licensing files and re-activate the program by following the steps below.
Important
Before you proceed, make sure you have your license key ready. It will be necessary to activate the program.
This solution also can be used when the program shows the wrong number of available licenses.
- Close the program (CodeTwo migration software).
- Go to folder:
%programdata%\CodeTwo\Office 365 Migration 3.2
if you use CodeTwo Office 365 Migration, or%programdata%\CodeTwo\Exchange Migration 3.2
if you use CodeTwo Exchange Migration. The version number (e.g. 3.2) may differ, depending on the version of the program that is installed on your machine. - Delete file MigrationLicense.2.xml (and MigrationLicense.2.xml.bak, if such file exists), as shown in Fig. 1.

Fig. 1. Deleting the corrupted licensing file of CodeTwo Office 365 Migration.
- Launch the program and reactivate your product license key.
Once done, the program will work normally without further issues, and you will be able to run your jobs again.
| Related products: | CodeTwo Exchange Migration, CodeTwo Office 365 Migration |
| Categories: | Troubleshooting |
| Last modified: | October 8, 2026 |
| Created: | October 28, 2019 |
| ID: | 828 |



