New to Telerik Reporting? Download free 30-day trial

HTML5 viewer Visual Studio item template failed to add NuGet packages


Product Progress® Telerik® Reporting
Product Version 12.0 18.227


Visual Studio item templates for adding HTML5 Report Viewer fail to add the dependant NuGet packages.

Error Message

An error occurred while adding an HTML page with Telerik HTML5 Report Viewer

Error: System.InvalidOperationException: A problem occurred while trying to install the NuGet package "package name"

You can try to update your NuGet client or install the packages manually.


The fix was provided in R1 2018 Service Pack 3 release (version of Telerik Reporting.

Suggested Workarounds

Download the required packages manually using NuGet package manager:

1. Microsoft ASP.NET 4.0

- System.Web.dll (
- System.Net.Http.dll (
- System.Net.Http.Formatting.dll (
- System.Web.Http.dll (
- System.Web.Http.WebHost.dll ( required for hosting in IIS
- System.Web.Http.SelfHost.dll ( required for Self-Hosting

2. Newtonsoft.Json.dll (latest available via NuGet is recommended)

You can use a newer WebAPI version by updating the corresponding (Microsoft.AspNet.WebApi.WebHost and Microsoft.AspNet.WebApi.SelfHost) NuGet packages and applying the following bindingRedirects to your application configuration file. Replace with the exact version:

<?xml version="1.0" encoding="utf-8" ?>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="System.Web.Http" culture="neutral" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="" newVersion=""/>
            <assemblyIdentity name="System.Net.Http.Formatting" culture="neutral" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="" newVersion=""/>

See Also

How To: Add Telerik Reporting REST Web API to Web Application

In this article