【问题标题】:SSRS rsInvalidDataSourceCredentialSetting XML + SQL DataSourceSSRS rsInvalidDataSourceCredentialSetting XML + SQL 数据源
【发布时间】:2020-02-26 13:43:23
【问题描述】:

我有一个同时使用共享 SQL 数据源和本地 XML 数据源的报表。我已经测试了共享的 SQL DataSource 连接并且它可以工作。本地 XML 数据源基于我发送到报告的参数。

URL 是这样构造的:...Security+Reporting&rs:Command=Render&FileInputHash={hash}

当我尝试以各种可能的方式打开报告时,我收到此错误:

The current action cannot be completed. The user data source credentials do not meet the requirements to run this report or shared dataset. Either the user data source credentials are not stored in the report server database, or the user data source is configured not to require credentials but the unattended execution account is not specified. (rsInvalidDataSourceCredentialSetting)

我该如何解决这个问题?有谁知道怎么回事?

编辑

我尝试删除该参数,将两个数据源都更改为“Windows 身份验证”并测试连接。两个连接都有效,但是当我尝试打开报告时它仍然抛出相同的错误。

【问题讨论】:

    标签: xml reporting-services


    【解决方案1】:

    问题在于,即使我将 OverwriteDataSource 设置为 true,报表服务器也将 DataSource 设置设置为不同。要解决此问题,请在浏览器中打开报表服务器,导航到报表,在报表名称旁边的下拉菜单中按“管理”。然后在 web config 中指定 DataSource 设置。

    【讨论】:

      【解决方案2】:

      在我的情况下,我解决了更改 RsReportServer.config 添加代码到数据部分

      <Extension Name="XML" Type="Microsoft.ReportingServices.DataExtensions.XmlDPConnection,Microsoft.ReportingServices.DataExtensions">
      <Configuration>
          <ConfigName>XML</ConfigName>
      </Configuration>
      

      并重新启动报告服务

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2013-01-06
        • 1970-01-01
        • 1970-01-01
        • 2017-11-21
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多