Keep SSRS reports as local RDL files not in the SQL database

Tanquen 1 Reputation point
2022-05-09T23:02:49.587+00:00

It looks like the default configuration is for the reports to be in a SQL database table. You can export them to RDL files for back up. We are migrating an older SSRS setup and it seems to be publishing and modifing from a local reports folder with .RDL and .RDL.Data files. Is this an optional setup from SSRS or maybe how it was done in the past?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,793 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Joyzhao-MSFT 15,566 Reputation points
    2022-05-10T01:49:27.26+00:00

    Hi @Tanquen
    Report Definition Language (RDL) is an XML representation of a SQL Server Reporting Services report definition. A report definition contains data retrieval and layout information for a report. RDL is composed of XML elements that match an XML grammar created for Reporting Services. You can add your own custom functions for controlling report item values, styles, and formatting by accessing code assemblies within report definition files.

    Depending on the version of Visual Studio you are using, the rdl.data Files may be located in your documents folder or in your user folder under your username, sources and repositories. In the solution folder, there are definition files (.rdl files) for each report and a data file (.rdl.data) for each report once it has been previewed. You can manually delete .rdl.data and it will be created the next time you preview.

    You could use Powershell to batch download reports locally.

    If you want to close rdl.data, please see the following link: What is the rdl.data File and What Does it do?
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Tanquen 1 Reputation point
    2022-05-10T01:54:38.527+00:00

    Ok but it seems like this older setup is working with the reports in a local folder as the RDL files and in the SQL database. They don't need to export them as they are already RDL file in the local "Reports" folder. Maybe there is a setting to automatically export the reports so it just looks like they are working on the local files.


  3. Tanquen 1 Reputation point
    2022-05-10T14:58:07.597+00:00

    Sorry, never used SSRS before. There is a system from 2014 that is using SSRS and when they make changes to the reports the local RDL files in a "Reports" folder are updated at the same time. Is there a setting to auto export them or was there ever a way to use RDL files and not a table in the SQL database?