Search results
Suggest a FeaturePDF

This section specifically for Bold Reports version less than 2.x. If you are using higher version of Bold Reports, we recommend you to refer the section licensing tokens to register your application with Bold Licensing.

Report Viewer SDK licensing overview

Starting with the version 1.2.x, Syncfusion introduced a new licensing system for the Bold Reports. You have to include the license key in your projects in order to use the Bold Reports assemblies. Note that the license key 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 key 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 key

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

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

How to register the Bold Reports license key

The generated license key 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.

Copied !
Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR LICENSE KEY");

ASP.NET

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

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

ASP.NET MVC

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

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

ASP.NET Core

Register the license key in Configure method of Startup.cs

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

WPF

Register the license key 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 key inside the constructor.

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

UWP

Register the license key 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 key inside the constructor.

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