ActiveReports 15 Viewer License missing - on a specific computer

Posted by: mdynna on 15 May 2023, 4:03 pm EST

    • Post Options:
    • Link

    Posted 15 May 2023, 4:03 pm EST

    Hi there,

    One of our customers is getting an error with our application saying that the license for Viewer is missing from the application. However, we know it isn’t a problem with how the application is compiled because the same program works on another computer on the same network. In fact, I took the application that works fine and copied it to the other computer which still generated the error about a missing license file.

    So it is obivously something specific to that computer. What should we be looking for that could be causing an error like this?

  • Posted 16 May 2023, 11:18 pm EST

    Hi Mark,

    Please make sure you have a ‘licenses.licx’ file in the project that implements the Viewer, also make sure the machine your project is being built upon is licensed.

    In order to make sure the ‘licenses.licx’ file is correctly embedded in your project and has all the required license strings please follow the steps below:

    • Delete the already present ‘licenses.licx’ file.
    • ‘Right-click on your project > Add > New Item’ and add a new PageReport to your project, this will recreate the ‘licenses.licx’ file with all the required string and correctly embed it to your project.
    • Now rebuild your project and it should work as expected.

    However, if you are using ActiveReports references in a class library please make sure you license the class library project using the steps given here Licensing Compiled Code. In this case you’ll need to delete the ‘licenses.licx’ file as we are licensing the project using ‘.gclicx’ license file.

    If the issue persists please tell us more about your project structure, if you are running the compiled version of your project or building it on your client’s system, if the client’s system is licensed and if possible please share a stripped-down sample of your project so we could replicate the issue on our end and further investigate the same.

    Regards,

    Anand

  • Posted 17 May 2023, 10:56 am EST

    I don’t think it can be a problem with the way we have the project and code set up as this is one computer out of thousands that this program is running on and it is the only computer having this error.

    So, it is clearly something with the way this particular computer is processing things. We have reinstalled the program, and zipped up and copied the same program from a different computer on the same network to this one, and we still get the error. What sort of things local to a computer would be causing this? Would a language setting cause the licensing to fail? It is possible that this computer has some non-standard language settings.

  • Posted 17 May 2023, 12:11 pm EST

    We found it. For future reference: the computer had a multi-language keyboard setup (French Canadian alternate language), on Windows 10. The same multi-language setup on Windows 11 works, but on Windows 10 it looks like the language setting needs to be set to English (US) for it to work. Maybe because that was the language setting on the computer that compiled it?

  • Posted 17 May 2023, 11:27 pm EST

    Hi Mark,

    We’re glad that your issue has been resolved! Thanks for sharing the resolution with us as this will help others facing similar problems.

    Regards,

    Anand

Need extra support?

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

Learn More

Forum Channels