New to Telerik Reporting? Download free 30-day trial

Error When Opening Reports Stored on Report Server in Standalone Report Designer

Environment

Product Progress® Telerik® Report Server
Designer Standalone Report Designer

Description

I encounter an error when attempting to open a report stored on Telerik Report Server in the Standalone Report Designer. The error mentions a conflict in the HTTP controller due to multiple actions matching the same request.

Error Message

w3wp.exe Error: 0 : Operation=ApiVersionActionSelector.SelectAction, Exception=System.InvalidOperationException: Multiple actions were found that match the request: 
GetClientsSessionTimeoutSeconds on type Telerik.ReportServer.Web.Controllers.Api.ReportsController
GetClientsSessionTimeoutSeconds on type Telerik.ReportServer.Web.Controllers.Api.ReportsController
   at Microsoft.Web.Http.Controllers.ApiVersionActionSelector.SelectActionVersion(HttpControllerContext controllerContext, IReadOnlyList`1 candidateActions)
   at Microsoft.Web.Http.Controllers.ApiVersionActionSelector.ActionSelectorCacheItem.FindAction(HttpControllerContext controllerContext, Func`3 selector, Boolean ignoreSubRoutes)
   at Microsoft.Web.Http.Controllers.ApiVersionActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext, Func`3 selector)
   at System.Web.Http.Tracing.Tracers.HttpActionSelectorTracer.<>c__DisplayClass7_0.<System.Web.Http.Controllers.IHttpActionSelector.SelectAction>b__0()
   at System.Web.Http.Tracing.ITraceWriterExtensions.TraceBeginEnd(ITraceWriter traceWriter, HttpRequestMessage request, String category, TraceLevel level, String operatorName, String operationName, Action`1 beginTrace, Action execute, Action`1 endTrace, Action`1 errorTrace)

Cause

An older version of the System.Net.Http assembly may exist in the Global Assembly Cache (GAC) and is being loaded by the Report Server.

Solution

  1. Open the Web.config file of the Report Server located at: C:\Program Files (x86)\Progress\Telerik Report Server\Telerik.ReportServer.Web\Web.config.
  2. Locate the element and add the following for the System.Net.Http assembly:

    <dependentAssembly>
       <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
       <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
    </dependentAssembly>
    
  3. Save the Web.config file (administrator permissions may be required).

  4. Recycle the Application Pool and restart the Telerik Report Server website from the IIS Manager.
  5. (Optional) If the error persists, try restarting the Internet Information Services (IIS) by executing the following command in a Command Prompt/PowerShell

    iisreset
    

See Also

In this article