在 SSRS 订阅中编辑 URL Link 到报表服务器

Edit URL Link to Report Server within SSRS Subscription

我最近从 SSRS Report Server 2008 升级到 Power BI Report Server 2017。我还设置了一个别名 URL link 来访问服务器。

当通过电子邮件订阅从新服务器发送报告时,可以选择将 link 连同它一起发送到报告服务器。当使用新的 reportserver 时,link 不使用 reportserver 别名到 link 服务器。它改为使用 SSRS 服务器本身的机器名称。

示例:http://machinename/reports/reportname 而不是:http://reportserveralias.example.com/reports/reportname

我确实找到了 microsft 的 link,它在 rsreportserver.config 文件中正确描述了 URLRoot。这是描述文件功能的 link Microsoft 网站。

https://docs.microsoft.com/en-us/sql/reporting-services/report-server/rsreportserver-config-configuration-file?view=sql-server-2017

我尝试编辑它,但无济于事。之后我还尝试重新启动报告服务,但没有用。 有人可以帮我吗?

谢谢!

您确实需要在RSReportServer.config 文件中配置UrlRoot,但它不能指向Web Portal,而是指向Web Service。在大多数情况下,虚拟目录名为 "reportserver"(在 Webservice URL 下的 Reporting Services 配置管理器 中验证这一点) .

RSReportServer.config 文件中的配置选项位于

<Configuration>
    ...
    <Service>
        ...

在您的场景中,它应该如下所示:

<UrlRoot>http://reportserveralias.example.com/reportserver</UrlRoot>

作为附加建议,将网络服务和网络门户 URL 绑定到 SSL 证书(为 reportserveralias.example.com 或 *.example.com 颁发)并改用 https .