Turboactive unlicensed machine and can no longer licenseAnswered

I have turboactivate setup in a product that was licensed on a machine. This machine has suddenly unlicensed and will now no longer accept licenses keys. I have done custom builds with updated .dat files. They are running the latest macos. The odd thing is the same build on another customers machine activated fine today. The only error produced is below. The key is copied directly from the limelm website. This is statically linked.

Last login: Fri May  1 21:38:02 on ttys004
vdjbeloved@VDJs-MacBook-Pro-2023 ~ % /Applications/Clockworks\ Gateway.app/Contents/MacOS/ClockworksBridge ; exit;
2026-05-02T01:39:23.869854Z  INFO ClockworksBridge: [license] Version GUID: snccncez56cwp653mas4okenyg4adri
2026-05-02T01:39:23.869879Z  INFO ClockworksBridge: [license] current_exe: Ok("/Applications/Clockworks Gateway.app/Contents/MacOS/ClockworksBridge")
2026-05-02T01:39:23.869885Z  INFO ClockworksBridge: [license] config_dir: Some("/Users/vdjbeloved/Library/Application Support/ClockworksGateway")
2026-05-02T01:39:23.869891Z  INFO ClockworksBridge: [license] candidate config_dir dat: Some("/Users/vdjbeloved/Library/Application Support/ClockworksGateway/TurboActivate.dat") (exists=false)
2026-05-02T01:39:23.869898Z  INFO ClockworksBridge: [license] candidate exe_dir dat: Some("/Applications/Clockworks Gateway.app/Contents/MacOS/TurboActivate.dat") (exists=true)
2026-05-02T01:39:23.869903Z  INFO ClockworksBridge: [license] candidate Resources dat: Some("/Applications/Clockworks Gateway.app/Contents/MacOS/../Resources/TurboActivate.dat") (exists=false)
2026-05-02T01:39:23.869907Z  INFO ClockworksBridge: [license] selected dat_path: "/Applications/Clockworks Gateway.app/Contents/MacOS/TurboActivate.dat"
2026-05-02T01:39:23.869911Z  INFO ClockworksBridge: [license] dat file metadata: size=4054 bytes, readonly=false
2026-05-02T01:39:23.869935Z  INFO ClockworksBridge: [license] dat file is readable
2026-05-02T01:39:23.869943Z  INFO ClockworksBridge::license: [license] check_license called with guid=********* dat_path=Some("/Applications/Clockworks Gateway.app/Contents/MacOS/TurboActivate.dat")
2026-05-02T01:39:23.869946Z  INFO ClockworksBridge::license: [license] calling TA_PDetsFromPath(/Applications/Clockworks Gateway.app/Contents/MacOS/TurboActivate.dat)
2026-05-02T01:39:23.882286Z  INFO ClockworksBridge::license: [license] TA_PDetsFromPath returned 0x0 (TA_OK)
2026-05-02T01:39:23.882305Z  INFO ClockworksBridge::license: [license] calling TA_GetHandle
2026-05-02T01:39:23.882308Z  INFO ClockworksBridge::license: [license] TA_GetHandle returned handle=37
2026-05-02T01:39:23.882310Z  INFO ClockworksBridge::license: [license] calling TA_IsGenuineEx
2026-05-02T01:39:23.883579Z  INFO ClockworksBridge::license: [license] TA_IsGenuineEx returned 0x1 (TA_FAIL)
2026-05-02T01:39:23.883592Z  WARN ClockworksBridge::license: [license] not licensed (hr=0x1 TA_FAIL)
2026-05-02T01:39:23.883596Z  INFO ClockworksBridge: [license] check_license returned: NotLicensed { error: "Not activated (code: 0x1 TA_FAIL)" }
2026-05-02T01:39:23.883601Z ERROR ClockworksBridge: License: Not activated (code: 0x1 TA_FAIL)
Validating license key: **********
2026-05-02T01:39:31.247574Z  INFO ClockworksBridge::license: [license/activate] called with guid=snccncez56cwp653mas4okenyg4adri key_len=34 key_bytes=[*********]
2026-05-02T01:39:31.247605Z  INFO ClockworksBridge::license: [license/activate] TA_GetHandle returned handle=37
2026-05-02T01:39:31.247610Z  INFO ClockworksBridge::license: [license/activate] calling TA_CheckAndSavePKey(flags=0x0)
2026-05-02T01:39:31.247616Z  INFO ClockworksBridge::license: [license/activate] TA_CheckAndSavePKey returned 0x10 (TA_E_INVALID_PKEY (product key format invalid))
2026-05-02T01:39:31.247629Z ERROR ClockworksBridge: License activation failed: Invalid product key (code: 0x10 TA_E_INVALID_PKEY (product key format invalid))
License activation failed: Invalid product key (code: 0x10 TA_E_INVALID_PKEY (product key format invalid))

ago, edited ago
Answer

I would avoid static linking. Bad things can happen. Start with the latest version of TurboActivate (26.0.2) dynamically linked.

Also make sure the customer isn't using something like a trial extension where product keys go.

ago, edited ago

Yes they are not using a trial, ok I will try the dynamic link library, but it would be good to fix.

ago

Tried with dylib, same issue. Its only on some macs not every one.

ago

Show us the code you're using, also, shoot us an email with the product key they're using.

I have done custom builds with updated .dat files.

I don't know what that means. Mismatching .dat files will cause other problems. The license files aren't stored in that file. That file is static and belongs alongside your app with the dylib.

Make a version of your app with dylib linking that you test on macOS for starters. Then work from there.

ago

Found the issue here, it was a misconfigured setting when it came to TA_Systsem vs user. Don't know how that changed but that was the issue. I am seeing an issue on windows however with the latest dll, the dat is next to the exe:

2026-05-07T22:19:19.213336Z  WARN ClockworksBridge::license: [license] TA_PDetsFromPath failed: 0x8 (TA_E_PDETS (TurboActivate.dat issue))
2026-05-07T22:19:19.228631Z ERROR ClockworksBridge::license: [license] TA_GetHandle returned 0
2026-05-07T22:19:19.229497Z ERROR ClockworksBridge: License: Failed to get TurboActivate handle. TA_PDetsFromPath failed (0x8 TA_E_PDETS (TurboActivate.dat issue)) for path: C:\Users\evan\Documents\git\ClockworksBridge\target\debug\TurboActivate.dat

ago

It sounds like the file is corrupt. Don't modify it. Redownload it from LimeLM and don't touch it.

ago