使用 RSS 脚本在报表服务器中发布 .rds 文件



我有几个使用共享数据源的rdl文件,共享数据源在sample.rds文件中定义。现在,当我尝试使用 rss scipt 发布 .rdl 文件时,出现以下错误,

The dataset `Sample' refers to the shared data source `Sample', which is not published  on the report server.  The shared data source `Sample' must be published before this report can run.

它清楚地表明 rdl 文件中引用的"示例"数据源未发布。

因此,在尝试发布 rdl 文件之前,我需要发布 sample.rds 文件。怎么做?如何使用 rss 脚本发布 .rds 文件?

提前感谢

您是否可以访问出价?如果是,您可以打开项目,右键单击它并进行部署。

所有数据源都将部署到项目配置中指定的文件夹

手动创建它对我有用:

  1. 浏览到http://localhost/Reports_SQL2008
  2. 单击"新建数据源",添加Name="Sample", connectionstring="Data Source=.sql2008; Initial Catalog=yourDB;"
  3. 使用视窗凭据

最新更新