Your trial period has expired-C1.C1Report

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?

  • Replied 29 September 2017, 4:23 am EST

    Hi,


    The evaluation message pop up appears in the following two cases:
    1. Your system does not have a valid license key for the controls.
    2. The entries of the licenses.licx file do not match with the controls used in the application.

    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
  • Replied 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.
  • Marked as Answer

    Replied 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:
    1. Are you running the solutions on same computer or on different computer ? If the computers are different then could you please check whether your license_key is still valid or not? You may do this by using C1Live (C:\Program Files (x86)\ComponentOne\C1StartMenu).
    2. Also, is the solution with which this project is showing this nag screen, consists of other projects too? If yes, then we would like to inform you that every project that consists of ComponentOne components should contain a licenses.licx file with valid entries for all the C1 controls used in the project.
    3. The nag screen for C1Report is shown due to other controls too, like if you have used C1PrintDocument in your project but the licenses.licx file does not contain entry for it. Therefore, in that case you need to add the following entry too:

    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
  • Replied 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
  • Replied 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
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels