Posted 17 June 2020, 4:07 am EST
Error “This application will be terminated because it was built without a license for SectionReport” after upgrade to version 14
We recently upgraded from Active Reports 11 to Active Reports 14.
The majority of our Active Reports use is through a WinForms Application but we also have a web service that uses the same projects as the WinForms application.
Since the upgrade the web applications that use this web service are now failing with the error “This application will be terminated because it was built without a license for SectionReport”.
Initially it was thought that only a legacy ASP.Net application was failing but we have an MVC application failing as well.
These are the steps we have taken:
Updated all projects Active Reports references in all projects (Report project, Report web service project, Web project). Where there is a choice eg 1.7.2 or 1.7.0 we have gone with the most recent 1.7.2
Ensured the framework is 4.6.2 in all projects
In one project the httpRuntime needed updating as well
Updated the licx file to include the 4 references recommended by GrapeCity
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports
GrapeCity.ActiveReports.PageReport, GrapeCity.ActiveReports
GrapeCity.ActiveReports.Viewer.Win.Viewer, GrapeCity.ActiveReports.Viewer.Win
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf
One thing we have noted is that if we add 1.7.2 components we get 1.7.0 errors yet there are no 1.7.0 references
For example “Could not load file or assembly GrapeCity.ActiveReports.Core.Rendering, Version 1.7.0.0 or one of its components”
We have added dependency sections in the web.config and app.config file:
eg
In previous versions we used to generate a web project license with your “WebKeyGenerator.exe” but it seems this is not required in version 14?
We cannot provide a working example as the solution is very large however we could organise an online session to show you the projects and the errors.