Posted 28 September 2017, 10:07 am EST
I have an existing VB.NET app that has suddenly starting giving a message saying “Your trial period has expired”. I’ve had a licensed copy for years, and I have no idea why this just appeared.
Any suggestions?
Forums Home / ComponentOne / WinForms Edition
Posted by: jtaylor on 28 September 2017, 10:07 am EST
Posted 28 September 2017, 10:07 am EST
I have an existing VB.NET app that has suddenly starting giving a message saying “Your trial period has expired”. I’ve had a licensed copy for years, and I have no idea why this just appeared.
Any suggestions?
Posted 29 September 2017, 4:23 am EST
Hi,
The evaluation message pop up appears in the following two cases:
In your case, it seems that the licenses file either doesn’t exist, contains wrong information, or is not configured correctly.
First, try a full rebuild (Rebuild All from the Visual Studio Build menu). This will usually rebuild the correct licensing resources.
The entry for every C1 control used in the application at design time or run time should be present in the licenses.licx file of the project. If you have added controls at runtime, drag and drop the controls on the form to generate their corresponding entries in the licenses.licx file and then you may delete the controls. You can also use the LicxGenerator to generate a licenses.licx file for your application. You can learn more about the same using the below blog post:
http://our.componentone.com/2016/01/25/licensing-and-licenses-licx-file-licxgenerator-tool/
The licenses file entry that you may use for the C1Report is:
C1.C1Report.C1Report, C1.C1Report.4
This should solve the problem for you.
Regards,
Esha
Posted 29 September 2017, 3:43 pm EST
A rebuild does not help.
This project didn’t have a license file, so I created one by dragging a control on to a form. I edited the license file to use the value listed above. I still got the error.
The license generator neither created a license file nor generated an error.
This is an existing project that has always worked in the past. We’re still on the same C1 version as when we built last. The project is used in two solutions, and only one solution is giving this license error.
Posted 3 October 2017, 6:03 am EST
Hi,
Thank you for sharing your observations.
However, we would need more information in order to respond to you effectively:
C1.C1Preview.C1PrintDocument, C1.C1Report.4
For complete list of entries, you may refer the following URL:
http://helpcentral.componentone.com/nethelp/c1studiowinforms/Creating_components_at_run_time.html
If the nag screen still shows up, then we request you to please share your stripped application demonstrating the issue.
Hope this helps.
Regards,
Ruchir Agarwal
Posted 3 October 2017, 3:58 pm EST
I added a license file to every project in the solution (including apparently unrelated projects) and the issue went away.
Thanks
Posted 3 October 2017, 11:09 pm EST
Hi,
Glad to know that the issue is now resolved and that we could help.
Do let us know if you face any issues in future.
Regards,
Ruchir Agarwal