Invalid license key in ActiveReports 15.3.8

Posted by: bval on 16 September 2024, 1:08 pm EST

  • Posted 16 September 2024, 1:08 pm EST

    Hello

    Could you please advise, why the exception “Invalid license key” may appear on some Linux environments?

    We use .net 6.0 application with ActiveReports 15.3.8, Env: Red Hat Enterprise Linux 9.4 (Plow) in the Oracle cloud. I wasn’t able to reproduce problem elsewhere.

    Thank you.

    —> System.Exception: System.Exception: Invalid license key.

    at aj7…ctor(String A_0, Boolean A_1)

    at GrapeCity.Documents.Pdf.GcPdfDocument…ctor(String licenseKey)

    at GrapeCity.ActiveReports.Core.Export.Pdf.Section.PdfExport.CreatePdfDocument(PdfSettings settings, Boolean isTagged)

    at GrapeCity.ActiveReports.Core.Export.Pdf.Section.PdfExport.Export(IEnumerable

    1 pages, BookmarksCollection bookmarks, IDictionary
    2 pagesMap, IDictionary
    2 images, PdfSettings settings) at GrapeCity.ActiveReports.Core.Export.Pdf.Section.PdfExport.Export(IEnumerable
    1 pages, BookmarksCollection bookmarks, IDictionary`2 pagesMap, Stream stream, PdfSettings settings)

    at GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.ExportCore(SectionDocument document, Stream stream, String pageRange)

    at GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport.Export(SectionDocument document, Stream stream, String pageRange)

  • Posted 17 September 2024, 2:42 am EST

    Hi Valentyna,

    >> Could you please advise, why the exception “Invalid license key” may appear on some Linux environments?

    There can be a variety of reasons. There is a possibility that you are using the license key of another version with some different version, or you haven’t embedded the license file with correct entries. Could you please create a case on the Support portal (not forum, in order to maintain the confidentiality of the license-related information) and share with us the following:

    • Screenshot of the error
    • Screenshot of the license manager
    • License key
    • A stripped-down, runnable sample reproducing the issue

    Alongside, you may also refer to the following documentation pages regarding licensing:

    >> We use .net 6.0 application with ActiveReports 15.3.8, Env: Red Hat Enterprise Linux 9.4 (Plow) in the Oracle cloud

    Please note that .NET 6 is not officially supported with ActiveReports 15, hence we can’t guarantee support for the issues that may occur due to the fact that ActiveReports 15 wasn’t tested with .NET 6. Please see the product requirements here: Product Requirements

    We would suggest that you upgrade to ActiveReports 16 or above for .NET 6 support.

    Also, for deploying Section Report in Linux, make sure that the Compatibility Mode property of the report is set to Cross-Platform.

Need extra support?

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

Learn More

Forum Channels