无法在SSRS中创建与数据源错误(rsErrorOpeningConnection)的连接

Cof*_*fee 19 database-connection reporting-services ssrs-2008

我正在努力将报表集成到浏览器中,我收到此错误:

An error has occurred during report processing. (rsProcessingAborted)
Cannot create a connection to data source 'dsFederatedSample_SurveyLevel_STG'. (rsErrorOpeningConnection)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

这与SQL与Windows身份验证有关吗?

Ian*_*ton 16

我要尝试的第一件事是获得有关错误的更多信息 - 这是一个非常通用的消息.

您可以根据错误消息启用远程错误并复制错误以获取更多信息:

启用远程错误.

或者检查报表服务器错误日志以查看记录的错误.

%programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles\
Run Code Online (Sandbox Code Playgroud)

下一步将是连接作为数据源用户对数据库,运行的报告与你正在运行报告时使用相同的参数使用任何代码/存储过程,并查看是否出现任何错误.


小智 5

在 SQL Server 2008 中,除了上述两个选项之外,您还有第三个选项可以通过 SQL Server Management Studio 进行此设置。

1. 启动 Management Studio 并连接到报表服务器实例(确保选择“报表服务”服务器类型)。

2.右键单击ReportServer并选择属性

3.点击高级

4. 在 EnableRemoteErrors 中,选择 True。

5. 单击确定。