Microsoft.ReportingServices.ReportViewerControl.WebForms version 150.1404.0

Dave Anderson 6 Reputation points
2020-10-28T23:40:15.44+00:00

After installing Microsoft.ReportingServices.ReportViewerControl.WebForms version 150.1404.0 via nuget in Visual Studio 16.7.7 when I now run an existing rldc in ProcessingMode.Local I get an error:

<Error>
<Message>An error has occurred.</Message>
<ExceptionMessage>Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</ExceptionMessage>
<ExceptionType>System.IO.FileLoadException</ExceptionType>
</Error>

How can I use this version Microsoft.ReportingServices.ReportViewerControl.WebForms version 150.1404.0 ?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,913 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Joyzhao-MSFT 15,576 Reputation points
    2020-10-29T05:48:05.123+00:00

    Hi @Dave Anderson ,
    This could be caused by several reasons, please try the methods mentioned in this thread, see if one could help: Could not load file or assembly 'Microsoft.ReportViewer.WebForms'

    OR, you could follow the steps in Integrate Reporting Services Using the Report Viewer Controls - Get Started Pay attention in the registery part in step 3.

    Hope this could help.
    Regards,
    Joy


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    0 comments No comments

  2. Dave Anderson 6 Reputation points
    2020-10-29T16:43:43.793+00:00

    Is there anything more up to date?

    The page
    https://learn.microsoft.com/en-us/sql/reporting-services/application-integration/integrating-reporting-services-using-reportviewer-controls-get-started?view=sql-server-ver15

    references .Net Framework 4.6 and I am using 4.8 and I am not using Windows Forms I am using Asp.Net to generate a report in an API. So step 3 is not relevant to me (not using ASPX pages).

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.