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
-
Hi Jonathan
The license wizard is a desktop app. It will not work for ASP.NET.
Can you expand on the issue you're having with the ASP.NET sample so that I can assist?
Regards
John
0 -
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.
0 -
Thanks, John. I got that bit worked out now.
0 -
Sorry I missed your previous post. Let me know if you need more help.
0
Please sign in to leave a comment.
Comments
5 comments