How to resolve InvalidOperationException when creating a new application

To resolve the InvalidOperationException when you create a new ASP.NET Core application with the Bold Reports® Report Viewer, add the MemoryCache in the startup file, as in the following code:

public void ConfigureServices(IServiceCollection services)
{
    services.AddMemoryCache();
}

See also