Where does a published RDL file sit?

五迷三道 提交于 2019-11-27 11:53:33

问题


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 manager? But where is this file situated on the reporting services server?

Thanks


回答1:


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




回答2:


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



回答3:


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



回答4:


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.



来源:https://stackoverflow.com/questions/914370/where-does-a-published-rdl-file-sit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!