Hi again,
I am experiencing a really weird issue when trying to activate the LexFloatServer via the command line on Windows (both 11 and Server 2022). If the file name of the activation response is 48 characters long, I get error 40. I know how weird this sounds, so I triple-checked this across three different machines.
C:\LexFloatServer>LexFloatServer -a --license-key XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX --offline-response LexFloatServer_activation_response_product1.dat --config config.yml --product-file product.dat
[2025-03-11 18:51:27+01:00] INF Offline activating license key...
[2025-03-11 18:51:27+01:00] INF License activated successfully!
C:\LexFloatServer>LexFloatServer -a --license-key XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX --offline-response LexFloatServer_activation_response_product12.dat --config config.yml --product-file product.dat
[2025-03-11 18:51:53+01:00] INF Offline activating license key...
[2025-03-11 18:51:53+01:00] ERR License activation failed: 40
C:\LexFloatServer>LexFloatServer -a --license-key XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX --offline-response LexFloatServer_activation_response_product123.dat --config config.yml --product-file product.dat
[2025-03-11 18:52:23+01:00] INF Offline activating license key...
[2025-03-11 18:52:23+01:00] INF License activated successfully!
Background:
This issue first occurred during an installation on a customer’s server. The installation is automated via a script because we usually have to install multiple products (each with its own LexFloatServer). Our script renames the activation response files to include the corresponding product name, so the file name lengths vary.
During the process, I ended up with three successful activations and one failure (error 40). There are no differences in the license settings—it all comes down to the file name length. At first, I suspected the installation script, but after isolating the issue, I found that the problem persists, as shown in the console output above.
I can work around this, but this behavior is extremely weird and (to me) suggests some underlying issue.
Using LexFloatServer 4.13.3 (the unboxed version that fixed LexFloatServer Crash – possibly related to Windows Update)
Thanks!