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

Posted by: mhabes on 4 February 2021, 7:28 am EST

  • Posted 4 February 2021, 7:28 am EST

    Hello,
    I'm getting the following error and have tried everything. My AR15 license is active on my development machine. I have a class library that is packaged into a NuGet package and consumed by a web application.

    Both the class library and the web application have licenses.licx files with the following:
    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

    Here is the error:
    System.ComponentModel.LicenseException: This application will be terminated because it was built without a license for SectionReport. at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument) at BFGSupply.BFGApi.Report.ReportHelper.GetReport(ReportDefinition reportDefinition, DataTable data) at BFGSupply.BFGApi.Report.ReportHelper.GetReport(ReportDefinition reportDefinition) at BFGSupply.BFGApi.Service.Reports.EntityFrameworkReportService.RunReport(ReportDefinition report)

    Visual studio 2019, .Net 4.8, debugging locally or deployed to web server is the same result.

    Any help would be greatly appreciated. Upgrade from AR10. Reports all look good. Can run the report directly from the class library but not the web app.

  • Replied 4 February 2021, 3:26 pm EST

    Hello,

    Your query has been replied here:
    https://supportone.componentone.com/casedetail/472537

    Please reply to above support one query to avoid confusion.

    Thanks,
    Mohit
  • Replied 4 February 2021, 9:14 pm EST

    mhabes said:
    Hello,
    I'm getting the following error and have tried everything. My AR15 license is active on my development machine. I have a class library that is packaged into a NuGet package and consumed by a web application.

    Both the class library and the web application have licenses.licx files with the following:
    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

    Here is the error:
    System.ComponentModel.LicenseException: This application will be terminated because it was built without a license for SectionReport. at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument) at BFGSupply.BFGApi.Report.ReportHelper.GetReport(ReportDefinition reportDefinition, DataTable data) at BFGSupply.BFGApi.Report.ReportHelper.GetReport(ReportDefinition reportDefinition) at BFGSupply.BFGApi.Service.Reports.EntityFrameworkReportService.RunReport(ReportDefinition report)

    Visual studio 2019, .Net 4.8, debugging locally or deployed to web server is the same result.

    Any help would be greatly appreciated. Upgrade from AR10. Reports all look good. Can run the report directly from the class library but not the web app.



    Hi, I have the same issue Upgrading from AR13 and Windows Form Viewer

    Thank you
  • Replied 7 February 2021, 12:46 am EST

    Hello,

    Could you please make sure that you have correct entry in the Licenses.licx file.

    Thanks,
    Mohit
  • Replied 7 February 2021, 8:35 pm EST

    That's the licenses.licx content:

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
    GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=15.0.3.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

  • Marked as Answer

    Replied 8 February 2021, 8:43 pm EST

    Hello,

    Your query has been replied here:
    https://supportone.componentone.com/casedetail/472629

    Please reply to above support one query to avoid confusion.

    Thanks,
    Mohit

Need extra support?

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

Learn More

Forum Channels