Even experts hit errors. Here is the troubleshooting cheat sheet.
In CODESYS, go to Tools → License Manager . codesys license activation