SHASHANGKA SHEKHAR'S BLOG

Hi, I am Shashangka Shekhar, Working with Microsoft Technologies. This is my personal blog where I share some of my experiences.

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 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/

 

 

7 Comments

  • Reply Giovanni Rugerio |

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

  • Reply 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

  • Reply 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.

Post a comment