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

Go to Visual Studio Marketplace

  1. Microsoft Rdlc Report Designer for Visual Studio
    • Rdlc Designer and projects for ASP.Net and Windows Forms for Reporting Services Report Viewer Control
  2. Microsoft Reporting Services Projects
    • 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/

 

 

4 Comments

  • bikash

    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

  • Kay

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *