Posted 21 August 2025, 4:33 am EST
I created a .NET 4.8 project (console application) that uses a SectionReport. When I use the “Report.Run()” command, I get the following error message: This application will be terminated because it was built without a license for SectionReport. This is the code:
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace ActiveReport4._8
{
internal class Program
{
static void Main(string[] args)
{
SectionReport rpt = new SectionReport();
XmlReader xmlReader = XmlReader.Create(@"D:\tmp\AR\vsdruck_neu.rpx");
rpt.LoadLayout(xmlReader);
rpt.UserData = @"D:\tmp\AR\test.txt";
rpt.Run();
rpt.Document.Save(@"D:\tmp\AR\output.rdf");
}
}
I also started glcm.exe. ActiveReports 17 is licensed.
Could you please help me?
Note: In a class library, I get a different error message: File or assembly “GrapeCity.ActiveReports” or a dependency could not be found.
If you need further information, please let me know. Thanks!