ActiveReports 15 within monorepo

Posted by: anjo on 8 September 2021, 2:12 am EST

  • Posted 8 September 2021, 2:12 am EST

    Hi,

    We have a large application within a monorepo (single solution also).

    One project within that solution uses ActiveReports and that project is maintained by a single developer.

    For years this has worked fine, but when we started the upgrade process to AR15 we realized that suddenly our other developers can’t even compile the solution.

    What is the recommended solution here? The other developers never touch ActiveReports.

  • Posted 19 September 2021, 6:23 pm EST

    Hello,

    After AR14, there is a change in the licensing scheme of AR. You need to add embed the .gclicx file as mentioned in following link:

    https://www.grapecity.com/activereportsnet/docs/v15/online/licensing-compiled-code.html

    Thanks,

    Mohit

  • Posted 26 October 2021, 6:22 pm EST

    Hello,

    I work at the same company as anjo and we have a problem getting this to work. Our project in the solution now have .gclix filer as following.

    Our app to view the reports is “product” and our library with the Active Report nugets is “namespace.reportObjects”.

    gclm.exe “e88c1aa3-2781-44bb-b639-765c9ef6d15c” -lc .\product.gclicx “product.namespace.reportObjects.dll”. I did have a active license when I generated the .gclix files och have placed the license files in “namespace.reportObjects”. We have multiple apps in the solution who view the reports, are we supposed to have one .gclix file for all of them or one for each app?

    A colleague of mine who do not have Active Reports installed tried to view reports in the solutions project “product” and still got the red warning text saying is was a trial version.

    What am I missing?

  • Posted 28 October 2021, 4:10 am EST

    Hello,

    We have multiple apps in the solution who view the reports, are we supposed to have one .gclix file for all of them or one for each app?

    No, you need to have different .gclicx file for different calling projects?

    still got the red warning text saying is was a trial version.

    Did you deploy the application on your colleague’s computer or just try to run the application using visual studio?

    Thanks,

    Mohit

  • Posted 2 November 2021, 9:01 pm EST

    We tried to run the solution with Visual Studio the first time when all the .gclix files where in the “namespace.reportObjects” projekt.

    I have tried to move the .gclix files from “namespace.reportObjects” to the apps viewing the reports, but I got the same error as before.

  • Posted 16 November 2021, 12:01 am EST

    Ping!

    Just to be clear.

    Let’s say that the application is named “productname” and that the class library referencing Active Reports is named “productname.classlib”.

    Our understanding is that the command to generate the license file should be:

    gclm.exe "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -lc .\.gclicx "productname.productname.classlib.dll"
    

    Is that correct?

  • Posted 17 November 2021, 2:35 am EST

    Hello,

    Is that correct?

    Yes, it is correct. Are you facing any issue?

    Thanks,

    Mohit

  • Posted 17 November 2021, 2:37 am EST

    Hello,

    I have tried to move the .gclix files from “namespace.reportObjects” to the apps viewing the reports, but I got the same error as before.

    You need to add the gclix file in the class library not in the main project.

    Thanks,

    Mohit

  • Posted 17 November 2021, 6:33 pm EST

    The service is split into multiple executing applications (web app, automation service etc.). So we either need multiple .gclix files (one per execution project) in the class library or to merge multiple .gclix files.

    Our understanding was that you could add the correct .gclix file in each executing application, but that didn’t work.

    What is the correct procedure there? Can we name the .gclix files in a way to make it work, or can we merge the content of each file into one massive .gclix file?

  • Posted 18 November 2021, 11:44 pm EST

    Hello Mohit,

    We tried to generate the file for just one of the apps, but it still doesn’t work.

    We generated the .gclicx-file with the command that you verified above (with the guid e88c1aa3-2781-44bb-b639-765c9ef6d15c and the correct dll-name).

    Then we added the .gclicx-file to the class library, as an embedded resource.

    After a build we still get the “unlicensed”-message when we view reports.

    Is there something else we need to do, to make it work?

  • Posted 19 November 2021, 2:07 am EST

    Hello,

    We have some more information. Even with the .gcllix file embedded, a trial license is downloaded.

    warning : License for ActiveReports 15 is successfully generated. Details: Trial License Activated (30 days left)
    
  • Posted 23 November 2021, 3:18 pm EST

    Hello,

    Can you open a new case on the following link and the share the license key that you are using with you:

    https://www.grapecity.com/my-account/my-support/newcase

    Note: It is a private forum so that you can share your personal detail on the case.

    Thanks,

    Mohit

  • Posted 23 November 2021, 6:43 pm EST

    Done! Thanks

Need extra support?

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

Learn More

Forum Channels