Search code examples
c#sql-server-2008-r2console-applicationrdlexport-to-pdf

How to programatically execute and export .rdl file to pdf without any SSRS and reportviewer


There are more examples on rendering a rdl file to reportviewer and then showing it in .pdf format.I need to built a console application that takes a .rdl as input and executes it to a pdf. How can i do this without using SSRS and reportviewer?


Solution

  • You can not render an RDL file without SSRS. The RDL file is just an XML definition, which is rendered by SSRS.


    To make this clearer:

    The RDL file is not the report output, but a mere layout description. It tells SSRS where to place elements. The content that comes from the database is only inserted while SSRS renders the report.