Where does a published RDL file sit?

落爺英雄遲暮 提交于 2019-11-28 06:09:00
gbn

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

Jeffrey Bradley

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

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

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.

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