55

发布 Reporting Services 报告时。实际的 .RDL 文件在服务器上的什么位置?

我可以通过浏览报表管理器重新下载 .RDL 文件吗?但是,此文件位于 Reporting Services 服务器的什么位置?

谢谢

4

4 回答 4

55

它不是服务器上的文件。它作为 BLOB 存储在 ReportServer 数据库中。

(在 SSRS 2005 上准确的目录表中)

扩展答案

于 2009-05-27T07:17:13.953 回答
30

此页面显示如何使用 T-SQL 检索它

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

杰夫

更新:这是相关查询,以防该博客文章将来消失:

select convert(varchar(max), convert(varbinary(max), content))
from catalog
where content is not null
于 2010-01-14T23:27:01.353 回答
7

以下查询专门提供报告的 ​​blob

 SELECT Name, convert (varchar(max), convert (varbinary(max),[Content])) AS ReportRDL
 FROM [dbo].[Catalog] where TYPE =2
于 2014-07-22T13:10:07.210 回答
4

实现此目的的一种方法是在报表生成器中打开报表。然后单击文件->另存为,然后将其保存在所需位置。

另一种方式是,当您在 Internet Explorer 中打开报告 URL 时,将鼠标悬停在报告上时,您会看到一个下拉菜单,并且有一个下载报告的选项。

希望这可以帮助。

于 2017-02-06T14:04:47.623 回答