How to check if License is valid

Posted by: jmmungermercier on 18 November 2024, 9:32 am EST

  • Posted 18 November 2024, 9:32 am EST

    Hi, we recently had an issue where a build agent failed to register the license for active report leading for us to generate a lot of report with the Activation watermark on them.

    Since we don’t want this behavior to happen again, we’re trying to make sure that the product is always activated on the production environment.

    I’ve searched but did not find any easy way to check if the product is activated.

    Hopefully someone knows the answer.

  • Posted 19 November 2024, 1:41 am EST

    Hi JM,

    We would suggest that you go through the attached documentation link regarding licensing your Build Agents/Pipelines with ActiveReports 18 and also to check whether the license is activated or not: Licensing Build Agents/Pipelines using Command Line

    We hope this helps!

  • Posted 19 November 2024, 10:50 am EST

    It does not answer my question. My goal is not to activate the product.

    My goal is to make sure that my product is activated in production.

    At startup I want to do something like

    If Not ActiveReport.IsCorrectlyLicenced

    THROW LicenceIsRequired

    My question is how do I programmatically check for the activation at runtime

Need extra support?

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

Learn More

Forum Channels