Search results

Embedded reporting tools licensing overview

Starting with the version 2.x, Syncfusion introduced a new licensing system for the Bold Reports. You have to include the license token in your projects in order to use the Bold Reports assemblies. Note that the license token is different from the setup unlock key and that needs to be generated separately from the Bold Reports website. The below licensing error will be displayed if the license token is missing in your projects.

This application was built using a trial version of Bold Reports. Please include a valid license to permanently remove this license validation message. You can also obtain a free 30 day evaluation license to temporarily remove this message during the evaluation period.

How to generate Bold Reports license token

License tokens can be generated from the Downloads section of the Bold Reports site.

Bold Reports license tokens are version specific. So, you should use the corresponding version license tokens in the projects.

How to register the Bold Reports license token

The generated license tokens is just a string that needs to be registered before any Bold Reports control is initiated. The following code is used to register the license.

Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");

ASP.NET

Register the license token in Application_Start method of Global.asax.cs/Global.asax

void Application_Start(object sender, EventArgs e)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");
    // Code that runs on application startup
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    BundleConfig.RegisterBundles(BundleTable.Bundles);
}

ASP.NET MVC

Register the license token in Application_Start method of Global.asax.cs

void Application_Start(object sender, EventArgs e)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");
    // Code that runs on application startup
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    BundleConfig.RegisterBundles(BundleTable.Bundles);
}

ASP.NET Core

Register the license token in Configure method of Startup.cs

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");
    loggerFactory.AddConsole(Configuration.GetSection("Logging"));
    loggerFactory.AddDebug();
}

WPF

Register the license token in App constructor of App.xaml.cs in C#. If App constructor not available in App.xaml.cs, create the App() constructor in App.xaml.cs and register the license token inside the constructor.

public partial class App : Application
{
    public App()
    {
        //Register Bold license
        Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");
    }
}

UWP

Register the license token in App.xaml.cs constructor before InitializeComponent() in C#. If App constructor not available in App.xaml.cs, create the App() constructor in App.xaml.cs and register the license token inside the constructor.

public App()
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE TOKEN");
    this.InitializeComponent();
    this.Suspending += OnSuspending;
}