Enable RDLC Reporting in Visual Studio 2017

In this post we will see how to enable RDLC Reporting in Visual Studio 2017.

Go to Visual Studio

    • Rdlc Designer and projects for ASP.Net and Windows Forms for Reporting Services Report Viewer Control
    • The Microsoft RDL report designer, projects and wizards for creating professional reports.

Download both package and install.

We also can install using Visual Studio >  Tools > Extensions and Updates

Go to Online Section > Visual Studio Marketplace > Search > “RDLC Reporting”

After installation re-open the project and Go to  Add New Item > Visual C# Items section

See both Report and Reporting Wizard is there.

Now we need to add Report Viewer Control(both Windows and Web) from NUGET

Go to Toolbox > General > Choose Items > .Net Components > Browse

Path: \WindowsFormsApp1\packages\Microsoft.ReportingServices.ReportViewerControl.Winforms.140.340.80\lib\net40

Choose Item

Finally ReportViewer control appear in Toolbox, drag and drop it to the form.

Hope this’ll help 🙂

Original Post:

  • http://www.andrealveslima.com.br/blog/index.php/2017/03/15/como-utilizar-o-report-viewer-no-visual-studio-2017/

 

 

Author:

Since March 2011, have 8+ years of professional experience on software development, currently working as Senior Software Engineer at s3 Innovate Pte Ltd.

47 thoughts on “Enable RDLC Reporting in Visual Studio 2017”

  • Giovanni Rugerio says:

    Reply

    [+] Excellent, thanks a lot, it was hard, but your post was some light in this dark path…!

  • Reply

    hi,
    i have created an web api which returns byte array, on reportViewer.LocalReport.Render method i get an exception “The definition of this report is not valid or supported
    by this version of Reporting Services. The report
    definition may have been created with a later version
    of Reporting Services, or contain content that is not
    well-formed or not valid based on Reporting Services
    schemas. Details: The report definition has an invalid
    target namespace ‘http://schemas.microsoft.com/sqlserver/
    reporting/2016/01/reportdefinition’ which cannot be
    upgraded.”
    Using Visual Studio 2017.

    Thanks

    • Hi,

      I got exaxctly the same error as you (about
      reporting/2016/01/reportdefinition)
      Have you found a workaround since then?

      Thanks,
      Tamas

      • Hi,

        Working solution for me.
        – Close VS2017.
        – Double-click on rdlc, it will be opened in VS2017 and converted automatically.
        – save rdlc and restart your projet.
        It’s now working.

  • I did everything, but when I try to add the Winform.dll I get the error message, that the dll contains no controls that can be added to the toolbar.

  • Reply

    Dear Mr.Shashangka ( Microsoft Tech.Empolyee)’

    We purchased visual studio 2017 and installed perfectly and now it is working . But we are unable to find any reporting tool in that to create report.

    Either Crystal report or any other native reporting tool not getting.
    My question is : I understood from this site we can enable by Clicking TOOLs Menu and Extension and updates menu or VSXI installer. BUT MY QUESTION IS WE NEED TO BUY THIS LICENCE SEPARATELY OR IT IS INCLUDED IN VISUAL STUDIO 2017 (which we purchased ). Pleaase let me know , I don’t want to try the above solution without proper knowledge.

    Regards
    Girish BR

  • Thx for this tutorial… But i cant find RLC File for VB.NET… Where is it? I’m using VS2017.

    Best regards

    Eric

  • Reply

    “After installation re-open the project and Go to Add New Item > Visual C# Items section”

    Did you start with a project open? If so what template was the project based on?

  • NileWaves says:

    Reply

    exclant exeplanation and accurate ,
    good tutorial … i folow it and it is work properly
    thanks

  • Reply

    follow up your comments, at the end of steps I get below message box at the last step of implementation

    “Toolbox

    The following controls were successfully added to the toolbox but
    are not enabled in the active designer.
    ReportViewer

    Make sure the controls to add are compatible with current designer and
    and .Net Framework version.

    what is the solution of problem??

    Thanks

  • Reply

    огромное спасибо, самая понятная инструкция и все работает!

  • Kruthika says:

    Reply

    Hi,
    I followed the same steps above but I get this error while running “An error occured during local report processing. Failed to load expression host assembly. Details: Could not load file or assembly ‘Microsoft.ReportViewer.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. The system cannot find the file specified.”

    Can you please help?

    • Reply

      Prueba colocando en FALSE la propiedad ‘Version especifica’ de la referencia que indicas: Microsoft.ReportViewer.Common

      A mi me funciono con otra referencia.

  • Reshma Shinde says:

    Reply

    ReportViewer control is not adding to toolbox. I am getting message:
    Following control is successfully added to the toolbox but are not enable in active designer

  • Henry Swaray says:

    Reply

    When I trid to add Dataset for my ReportViwer I get this message below:
    Error: Custom tool error: An unexpected error occurred in the ODP Managed Provider for .NET. Please contact the provider vendor to resolve this problem.

  • Henry Swaray says:

    Reply

    When I trid to add Dataset for my ReportViwer I get this message below:
    Error: Custom tool error: An unexpected error occurred in the ODP Managed Provider for .NET. Please contact the provider vendor to resolve this problem. I am using VS 2013 Ultimate

  • natasha says:

    Reply

    how to display multiple reports using report viewer for windows application vb.net

  • Milind Kumar says:

    Reply

    Report Viewer Control appears in tray than on Winform.
    How to work around?

  • Piotr Dusiński says:

    Reply

    Please help me,
    I made all steps the same, but I can’t get reportViewer1 on form, only icon below for?
    Thank you

  • Shailesh Patel says:

    Reply

    I tried to install
    1) Microsoft Rdlc Report Designer for Visual Studio and
    2) Microsoft Reporting Services Projects
    as suggested by you. However, the installation was successful for VS 2019 on my machine but failed for VS 2017 community edition on my machine. I tried multiple times, including restarting my machine etc. but yet always failing for VS 2017.

    Any suggestions please anyone?

Leave a Reply