【问题标题】:SSRS: how to prompt user and password for remote SQL Server instanceSSRS:如何提示远程 SQL Server 实例的用户和密码
【发布时间】:2017-08-03 01:07:12
【问题描述】:

我已经安装了来自 Microsoft 的 tigertoolbox,并且我每天都在使用 SQL Server 性能仪表板报告。

它非常有用,如果您还没有使用它,我建议您安装它。

顺便说一句,当我连接到本地主机时,一切正常,但是当我尝试连接到网络上的另一个 SQL Server 实例时,我收到了错误

An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'DataSource1'. (rsErrorOpeningConnection)
A network-related or instance-specific error occurred while establishing a connection to SQL Server. 
The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to allow remote connections. 
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Access is denied

答案很简单:由于我的凭据,我可以轻松连接到本地主机,但 我需要输入远程 SQL Server 实例的用户/密码。 如何让 SSRS 提示远程 SQL Server 实例的用户和密码?

Cannot create a connection to data source ‘DataSource1’. (rsErrorOpeningConnection) 的问题甚至在 official Microsoft page 上的 cmets 中也有提及,但没有提及如何解决此问题。

【问题讨论】:

    标签: sql-server reporting-services ssms sqlperformance sqlreportingservice


    【解决方案1】:

    检查您是否在服务器的默认端口上运行 SSRS。如果没有,请通知连接中的端口。

    【讨论】:

      【解决方案2】:

      答案很简单:我可以很容易地连接到 localhost,这要归功于 我的凭据,但我需要输入远程 SQL 的用户/密码 服务器实例

      这不是答案。

      这个错误告诉你没有找到你的服务器,所以它不可能是身份验证错误,服务器没有到达所以它不能对你进行身份验证。

      你应该检查你的连接字符串是否正确。如果正确,可能是防火墙或您的服务器未配置为接受远程连接。

      所以当第一件事在这里发布你的连接字符串时,它看起来像这样:

      我的图片用于共享 DSN,如果您使用嵌入的,您可以在报告属性中找到它

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-04-03
        • 1970-01-01
        • 2013-12-03
        • 1970-01-01
        • 2019-12-18
        • 1970-01-01
        相关资源
        最近更新 更多