Where does a published RDL file sit?

后端 未结 4 962
深忆病人
深忆病人 2020-12-13 17:08

When publishing a reporting services report. Where does the actual .RDL file sit on the server?

I can redownload the .RDL file via browsing through the report manage

相关标签:
4条回答
  • 2020-12-13 17:37

    This page shows how to retrieve this using T-SQL

    http://mscrmuk.blogspot.com/2009/05/reading-rdl-definitions-directly-from.html

    Jeff

    Update: here's the relevant query, in case that blog post disappears in the future:

    select convert(varchar(max), convert(varbinary(max), content))
    from catalog
    where content is not null
    
    0 讨论(0)
  • 2020-12-13 17:40

    It is not a file on the server. It stored as a BLOB in the ReportServer database.

    (In the Catalog table to be precise on SSRS 2005)

    Extended Answer

    0 讨论(0)
  • 2020-12-13 17:41

    Following query specifically provide the report's blob

     SELECT Name, convert (varchar(max), convert (varbinary(max),[Content])) AS ReportRDL
     FROM [dbo].[Catalog] where TYPE =2
    
    0 讨论(0)
  • 2020-12-13 17:50

    One way to achieve this is open the report in Report Builder. Then click on file -> save as, then save it in the desired location.

    Another way, When you open the report URL in the Internet Explorer,on hovering the report you'll see a drop down and there is an option to download the report.

    Hope this helps.

    0 讨论(0)
提交回复
热议问题