No trail (Failed to start the trial: 33)Answered

When I set trail to 0 or no trails, what I am getting is looping of this message:
Failed to start the trial: 33

Should I change this line of code 
const trialFlags = TA_USER | TA_VERIFIED_TRIAL;

Into this line of code:

const trialFlags = TA_USER | TA_UNVERIFIED_TRIAL;

Answer

Why are you using trials in your app when you've set the trials to 0?

It was present for some time then we removed trial, it could be that we will back again at some point.
If I leave const trialFlags = TA_USER | TA_VERIFIED_TRIAL;
Should this works?
If not what changes should I make?

          if (retObj === TA_OK)
             return ta.TrialDaysRemaining(trialFlags);
         else if (retObj === TA_E_TRIAL_EXPIRED)
         {  
             TrialExpired();
             return null;
         }
         else if (retObj === TA_E_NO_MORE_TRIALS_ALLOWED) {
             PromptProductKey();
             return null;
         }
         else
             HardFailure("Failed to start the trial", retObj);

@Wyatt O'Day
Can you comment on this please?
 

Answer

Open TurboActivate.h, every error code is listed:

/*
MessageId: TA_E_NO_MORE_TRIALS_ALLOWED
Message code (in Hex): 0x21
Message code (in Decimal): 33

MessageText:

In the LimeLM account either the trial days is set to 0, OR the account is set
to not auto-upgrade and thus no more verified trials can be made.
*/
#define TA_E_NO_MORE_TRIALS_ALLOWED ((HRESULT)0x00000021L)

Upgrade your plan.

What do yo mean by “Upgrade your plan.”?
Client for which I am working this has Premium account plan, if you meant that?

And for this code TA_E_NO_MORE_TRIALS_ALLOWED I added this as new condition inside code did you checked that code in my previous message?
This should take care both versions if trial is allowed and not allowed?

Yeah, if you want to disable trials, then do it. But… why bother adding the trial code to your app at all? It's just wasted time for the customer, wasted time in maintaining code, and wasted server time just to say the trials can't be started because they disabled them.