ReportViewer.Winforms problem with Analysis Services Projects

Zviad Meip 6 Reputation points
2022-09-21T17:13:03.92+00:00

Hello,

Using VS2022 and latest version of Reportviewer.winforms I get this error (same problem was in VS2019)

https://www.dropbox.com/s/0rk80bhqsnc42e6/ReportViewer%20Error.jpg?dl=0

I found out that problem arises when I install Microsoft Analysis Services Projects extension, same dll conflict and cannot add reportviewer component to any form,

Anyone tested using RDLC reportviewer with SSAS extension, I cannot believe no one uses both at the same time at Microsoft to have such a product breaking bug,

Please advise on solution if any or fix this bug as soon as possible,

Thank you,
Zviad,

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.
3,061 questions
SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,344 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Joyzhao-MSFT 15,631 Reputation points
    2022-09-22T06:57:13.453+00:00

    Hi @Zviad Meip ,
    I tried to reproduce your problem, but the Report Viewer works fine in Winform. I have both the Report Viewer component and the Analysis Service Extension installed on my VS with the following versions:
    243803-vs.png
    243725-as.png
    243750-report-viewer.png
    Please try to install another version of report viewer.
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.

    0 comments No comments

  2. Zviad Meip 6 Reputation points
    2022-09-22T08:47:02.22+00:00

    Joyzhao-MSFT thank you for answer,

    I guess I did not provide all the details, sorry

    I am using vb.net - WinForms for .Net Framework 4.8, same version VS2019 and Analysis Service Extension, NuGet package Report Viewer version - 150.1537.0 - latest I think?

    p.s. what version .Net are you using? WinForms for 5, 6 .net does not install Report Viewer at all, says Microsoft.SqlServer.Types component is not compatible

    Best Regards,
    Zviad,


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.