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.