Failed to get Feature value

I'm trying to show the user how much time is remaining in his SaaS subscription.The code below yields the error message:Failed to get Feature value. The feature doesn't exist.and then the program terminates.

'5/6/2018 T. Pfaff - ISSUE #17 Add code to allow 30-day free trial and show remaining license time If isGenuine AndAlso ta.IsActivated() Then If ta.IsDateValid(ta.GetFeatureValue("expiration_date"), TA_DateCheckFlags.TA_HAS_NOT_EXPIRED) Then lblTrialMessage.Text = "Your SUBSCRIPTION has " + ta.GetFeatureValue("expiration_date") + "days remaining." Else lblTrialMessage.Text = "Your SUBSCRIPTION has expired." End If End If

My guess is you created the custom license field (or set it) after youve activated.

This is covered in depth in the custom license fields article: https://wyday.com/limelm/help/license-features/#change

Let me know if that helps.

The article you sent me the link to brought up another question:

The article says: "Note: you SHOULD NOT call TA_IsGenuine() on every start of your app - use TA_IsGenuineEx()."

But, when I try to use TA_IsGenuineEx, Visual Studio tells me there is no such member of TurboActivate.

It looks like you're using VB.NET, so the IsGenuineEx() function is actually called in an overloaded TurboActivate.IsGenuine(...) member. Specifically, when you call IsGenuine() with more than 1 parameter.

For more information about overloaded functions, google it. Also, look into the TurboActivate.vb file and see what underlying TurboActivate functions are actually called.