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

Posted by: mhabes on 4 February 2021, 4:28 pm EST

    • Post Options:
    • Link

    Posted 4 February 2021, 4:28 pm 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.

  • Posted 5 February 2021, 12:26 am 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

  • Posted 5 February 2021, 6:14 am EST - Updated 30 September 2022, 3:18 pm EST

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

    Thank you

  • Posted 7 February 2021, 9:46 am EST

    Hello,

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

    Thanks,

    Mohit

  • Posted 8 February 2021, 5:35 am 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

  • Posted 9 February 2021, 5:43 am 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

  • Posted 14 June 2021, 5:05 pm EST

    I am encountering the same issue, upgrading from AR6 to AR15.1. My license file has the following entries:

    GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports, Version=15.1.0.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

    GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win, Version=15.1.0.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

    GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf, Version=15.1.0.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

    GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports, Version=15.1.0.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff

  • Posted 15 June 2021, 2:06 am EST

    Hello,

    Could you please provide me the sample so that I can replicate the issue at my end. Also, you can try following thing:

    Try to run the sample at the following location and see it gives the same issue:

    https://github.com/activereports/Samples15/tree/main/Desktop/WinViewer

    Try to create a new application using the AR project template and see it gives the same issue.

    Also, you can try after deleting the bin/obj folder

    If both run correctly, I need your sample so that I can reproduce the issue at my end.

    Thanks,

    Mohit

  • Posted 15 June 2021, 1:34 pm EST

    Mohit,

    I successfully ran the sample and several new test projects using the templates. I have deleted the bin/obj folders in the relevant projects within my solution, but still get the same error. My solution/projects well exceeded the max size limits for me to attach here. Please advise.

    Thank you,

    Paul

  • Posted 16 June 2021, 12:18 am EST

    Hello,

    Can you tell me the project structure of the solution? If you are using AR assemblies in the class library and use the class library in another project then you need to refer to the following link:

    https://www.grapecity.com/activereportsnet/docs/v15/online/licensing-compiled-code.html

    Thanks,

    Mohit

  • Posted 13 July 2021, 2:58 pm EST

    Error while running report (from ReSharperTestRunner32) : This application will be terminated because it was built without a license for SectionReport. at GrapeCity.ActiveReports.SectionReport.Run(Boolean syncDocument)

    at GrapeCity.ActiveReports.SectionReport.Run() …

    Getting the above exception.

    I’ve created a ReSharperTestRunner32.gclicx license from the cli below and it is an embedded resource in my FCS.Reporting.Requests.ProcessorRequests project.

    C:\ProgramData\GrapeCity\gclm\gclm.exe “e88c1aa3-2781-44bb-b639-765c9ef6d15c” -lc C:\dev\ReSharperTestRunner32.gclicx “ReSharperTestRunner32.FCS.Reporting.Requests.ProcessorRequests.dll”

    Please advise?

  • Posted 14 July 2021, 4:06 am EST

    Hello,

    Are you using AR15 or AR14?

    If AR14, please try with the following command:

    C:\ProgramData\GrapeCity\gclm\gclm.exe “de456e2c-d2e3-4246-94e8-9648bbd6fbf0” -lc ..gclicx “ReSharperTestRunner32.FCS.Reporting.Requests.ProcessorRequests.dll”

    IF AR15, then please try with the following command:

    C:\ProgramData\GrapeCity\gclm\gclm.exe “e88c1aa3-2781-44bb-b639-765c9ef6d15c” -lc ..gclicx “ReSharperTestRunner32.FCS.Reporting.Requests.ProcessorRequests.dll”

    Hope it helps.

    Thanks,

    Mohti

  • Posted 14 July 2021, 1:54 pm EST

    Using v15 and my cli call is what you suggest - and it doesn’t resolve the issue.

  • Posted 15 July 2021, 1:45 pm EST

    Hello,

    Could you please tell the all license steps you followed and your deploy steps so that I can narrow down the issue.

    Thanks,

    Mohit

  • Posted 8 January 2022, 4:02 am EST

    I need a real sample which the lisencing for a activerports 15 is actually done. would you please send a sample .

    thanks

    Shahin

Need extra support?

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

Learn More

Forum Channels