如何从一个域下的两个文件夹的SSRS报告访问共享数据源

问题描述

我有一个名为“ TestReport1”的SSRS报告,其数据源配置如下所示。

  <DataSources>
    <DataSource Name="TestSource">
      <DataSourceReference>TestSource</DataSourceReference>
      <rd:SecurityType>None</rd:SecurityType>
      <rd:DataSourceID>fdcbfacc-33c8-4bc6-b671-1e23b63fcd72</rd:DataSourceID>
    </DataSource>
  </DataSources>

为了进行测试,我有一个环境,其中有两个名为“ AB1”和“ AB2”的文件夹,需要在其中部署相同的报告。 我的问题是它不起作用。如果我如下更改“ DataSourceReference

  <DataSources>
    <DataSource Name="TestSource">
      <DataSourceReference>/AB1/TestSource</DataSourceReference>
      <rd:SecurityType>None</rd:SecurityType>
      <rd:DataSourceID>fdcbfacc-33c8-4bc6-b671-1e23b63fcd72</rd:DataSourceID>
    </DataSource>
  </DataSources>

<DataSources>
    <DataSource Name="TestSource">
      <DataSourceReference>/AB2/TestSource</DataSourceReference>
      <rd:SecurityType>None</rd:SecurityType>
      <rd:DataSourceID>fdcbfacc-33c8-4bc6-b671-1e23b63fcd72</rd:DataSourceID>
    </DataSource>
  </DataSources>

正在工作。我该如何解决以上问题?

使用的工具:Visual Studio 2019(Microsoft Reporting Service项目),sql Server 2016 Reporting Service配置管理器。

预先感谢...

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)