ASP.NET Web Forms Example
I am not seeing a good example that actually explains how the license wizard works for ASP.NET Web Forms. I have also tried to implement the code found in the ASP.NET sample demo project, but so far have not been successful in getting it to work for my application.
I am on .NET 4.5. I was under the impression the integration was fairly simple, but in looking into the example that does not seem to be the case.
-
Official comment
Hi Jonathan
Can you expand on the statement "it does not work"?
The sample should return an error message after calling ActivateLicense. What is that error message.
Also, please make sure that you update all variables in the LicenseValidator class constructor to match your own product. More specifically, make sure that all the arguments to DefineProduct, PublicKey, CommunicationEncryptionKey and DefaultWebServiceUrl are correct.
John
Comment actions -
I actually got the ASPSample working, and now I'm trying to test it with our license server. So I have given it the license server webServiceUrl in the Web.config file, as well as in Settings.settings. I have also modified the communciationEcryptionKey to match ours. Still, when I run it, and click Activate, it doesn't work.
Please sign in to leave a comment.
Comments
5 comments