Way to install without using up the license?

Posted by: profnachos on 24 May 2019, 5:09 am EST

    • Post Options:
    • Link

    Posted 24 May 2019, 5:09 am EST

    In the team of developers, I am the only one who works on all things related to Active Reports. Other developers need active reports just to compile in their development environment. So what is the best way to do this? Do they just need to create a reference to each DLL? That is pretty cumbersome. Should they install the trial version and keep it that way? Is there a way to package this?

  • Posted 26 May 2019, 8:48 pm EST

    Hello,

    Ideally, each build machine has AR license to build an application containing the AR. When you installed the trial version, it gets only work for 30 days. After that, you will get the license exception.

    However, you can build the application on another non-license machine using the satellite license dll.

    Please refer to the steps mentioned in the topic “To license ActiveReports when you cannot compile the calling application or the calling application is COM” in the following documentation link:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#arHOWLicensingActiveReports.html

    Hope it helps.

    Thanks.

  • Posted 2 June 2019, 7:58 pm EST

    I tried to understand the linked article. I am completely lost. Everything after that.

    " A calling application is the root-level application that the user initiates to eventually access your compiled assembly. "

    What? What is the “root-level application”? My compiled assembly? I don’t distribute my compiled assembly to my team members. My compiled assemblies go to the end user.

    Here is the only thing that I want. I want my team of developers to be able to compile so they can run their code (that does not run Active reports.). That is it. If they do run something related to Active Reports, they used to get an output with watermarks. Is that going to be the case?

    So what happens if they install on their machine and let the trial expire? Can they compile?

  • Posted 3 June 2019, 8:34 pm EST

    Hello,

    So what happens if they install on their machine and let the trial expire? Can they compile

    No, It will throw the license exception.

    You can create the build license for the other developers as follow:

    1: Build the project using the licensed components on a developer machine which is licensed for development with all the components referenced in the project (this creates the .licenses resource).

    2: Find the licenses.licx in the Solution Explorer window. You can use the Show All Files toolbar button to see it or expand the Properties folder.

    3: Right-click the licenses.licx in the Solution Explorer window, and then select Exclude From Project.

    4: Use Windows Explorer (outside Visual Studio) to find the .licenses file in the obj{configuration} folder (obj\Debug or obj\Release). The file should have the name {target}.{ext}.licenses (for example: project1.exe.licenses).

    5: Copy that file to the project folder and rename it to remove the target name (rename it from {target}.{ext}.licenses to {ext}.licenses). For example: project1.exe.licenses to exe.licenses.

    6: In the Visual Studio Solution Explorer window, find the {ext}.licenses (you might need to refresh the window), then right-click the file and select Include In Project.

    7: Change the Build Action for the {ext}.licenses from Content to Embedded Resource.

    8: The project can now be built without requiring a developer license on the machine, since the license has already been built and linked into the project.

    Now you can compile the same project on the machine where ActiveReports is not installed.

    However, there are the following restrictions:

    1: The licenses resource contains the name of the target module encoded in its contents, so that licenses resource is specific to that particular project.

    2: The steps described above will not bypass any part of the design-time license enforcement. The developer license is still required to open forms containing instances of the licensed controls.

    3: If the licensed components in the project change, then special care should be taken. The licenses.licx should be added back to the project first, so that it does not get recreated (empty) by Visual Studio and cause type references (and embedded licenses in the resource) to be lost. After the new licensed components are added or changed in the licx, the above steps should be repeated.

    4: The above steps only apply for .NET managed code applications which use the standard .NET Framework component licensing model (ActiveX control licensing in managed .NET applications does not use this mechanism).

    For ActiveX control licensing, you can follow the steps mentioned in the following link:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#arHOWLicensingActiveReports.html

    Hope it helps.

    Thanks.

  • Posted 4 June 2019, 2:33 am EST

    Thank you. I will follow the steps but can you answer the last question:

    “So what happens if they install on their machine and let the trial expire? Can they compile?”

  • Posted 5 June 2019, 6:11 pm EST

    Hello,

    So what happens if they install on their machine and let the trial expire? Can they compile?

    I had replied to this question in my previous reply. However, It will throw License exception when you try to compile or run the application.

    Thanks.

Need extra support?

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

Learn More

Forum Channels