Error logs?

I'm wondering if you keep any error logs for calls to IsGenuine() ?

We have a user that appears to be activated properly, however the IsGenuine() call is returning that the user is not genuine.

I can supply you with the activation code, product id, etc.

Thanks

We don't keep logs of failed IsGenuine() calls. What's the return code for IsGenuine() and what's the return code for IsActivated()?

Thanks for your reply Sam

The way the code is structured, I know IsActivated() is succeeding and IsGenuine() fails.

The user is out in the field so I don't know the return codes of either. I will try to send him a new version that logs these codes.

If I were to guess, I would say IsGenuine() is returning TA_E_REACTIVATE which, if you look in the TurboActivate.h file means:

The product key needs to be reactivated because your hardware has changed or the features data has changed. To reactivate simply call the "Activate()" function.

That is, I suspect you're handling the conditional sucess of "TA_E_REACTIVATE" as a failure when it obviously shouldn't be.

Ok, but which error code is TA_E_REACTIVATE? I'm developing for AIR/ActionScript3

The possible error codes I see are:

/** * The product key is invalid or there's no product key. */ public const TA_E_PKEY:int = 2;

/** * Connection to the server failed. */ public const TA_E_INET:int = 4;

/** * The product key has already been activated with the maximum number of computers. */ public const TA_E_INUSE:int = 5;

/** * The product key has been revoked. */ public const TA_E_REVOKED:int = 6;

/** * The version GUID doesn't match that of the product details file. Make sure you set the GUID using TurboActivate.VersionGUID. */ public const TA_E_GUID:int = 7;

/** * The product details file "TurboActivate.dat" failed to load. It's either missing or corrupt. */ public const TA_E_PDETS:int = 8;

/** * CoInitializeEx failed. */ public const TA_E_COM:int = 11;

/** * Failed because your system date and time settings are incorrect. Fix your date and time settings, restart your computer, and try to activate again. */ public const TA_E_EXPIRED:int = 13;

/** * Insufficient system permission. Either start your process as an admin / elevated user or call the function again with the TA_USER flag. */ public const TA_E_PERMISSION:int = 15;

/** * The flags you passed to CheckAndSavePKey(...) or UseTrial(...) were invalid (or missing). Flags like "TA_SYSTEM" and "TA_USER" are mutually exclusive -- you can only use one or the other. */ public const TA_E_INVALID_FLAGS:int = 16;

Oh actually I see in the code it's 10:

// is genuine if TA_OK or TA_E_REACTIVATEevt.boolResponse = RetCode == 0 || RetCode == 10;