SHASHANGKA SHEKHAR'S BLOG

Author, TechWriter

Enable RDLC Reporting in Visual Studio 2017

Hits: 11470

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/

 

 

26 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.

  • Reply girish |

    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

  • Reply Eric |

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

    Best regards

    Eric

  • Reply Will |

    “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?

  • Reply NileWaves |

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

  • Reply Efe |

    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

Post a comment