GCLICX files for 2 different executables

Posted by: cristian.udrea on 10 July 2023, 9:48 am EST

  • Posted 10 July 2023, 9:48 am EST

    Hi,

    We are using AR 17 for the desktop application my company builds.

    The application is delivered to customers as 2 different executables:

    *the first one (let’s call it BomReport.exe) uses the report designer to customize Bill of Material templates

    *the second one (let’s call it MainApp.exe) lets the user preview generated reports in a dialog

    All the code using ActiveReports components is placed in a shared class library, let’s call it CommonReports.dll.

    I generated 2 different .gclix files, one for each executable (MainApp.CommonReports.dll and BomReport.CommonReports.dll), and added them to the Visual Studio project for CommonReports.dll as Embedded Resources.

    At runtime only one of the executables actually works, the one which uses the report designer, BomReport.exe.

    The other one shows a licensing error when opening the report preview dialog:

    “License for ActiveReports 17 is not found. ViewerProgram execution is terminated.

    This application will be terminated because it was built without a license for Viewer.”

    The case of the executable that does not work(MainApp.exe) is trickier.

    Our application is actually a complex plugin containing a mix of managed and unmanaged code for a base “platform” application made by our company.

    So the call stack is something like this:

    MainApp.exe → OurAppCode.dll → COM Wrapper class → CommonReports.dll → GrapeCity.ActiveReports.*.dll

    MainApp.exe is not under my control, I only get access to an internal SDK and deliver OurAppCode.dll + CommonReports.dll + BomReport.exe.

  • Posted 10 July 2023, 7:55 pm EST

    Hi Cristian,

    In order to debug this issue, we will require some additional information from you which is why I have created a support case for the same. Please refer to the following Case Id: CAS-41850-V9H0V2 and get back to us with the required details over the support portal so we can continue with our investigation.

Need extra support?

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

Learn More

Forum Channels