修复报表服务器遇到配置错误
在本文中,我将向您展示如何修复“报表服务器遇到配置错误(rsServerConfigurationError)”。
在新的SCCM服务器上,当您安装SQL server报表服务时,您可能会遇到报告服务错误.浏览SCCM报告在浏览器中,你看报表服务器遇到配置错误(rsServerConfigurationError).
此外,当你启动SCCM控制台然后转到监控\报告\报告,你可以看到ConfigMgr报告为空.这是否意味着报告服务没有正确安装?我们先不要这么快下结论,先来看看日志文件.

SQL Server报表服务日志文件
当你为SCCM安装SQL Server报表服务,有三个日志文件必须监视。
- srsrpsetup.log—记录报表服务点安装过程的结果。
- srsrpMSI.log—从MSI输出中详细记录报表服务点安装过程的结果。
- srsrp.log—记录报表服务点的活动和状态信息。站点系统服务器。
在我的情况下,srsrpsetup.log没有记录任何错误。我能看到srsrp。Msi退出,返回代码为0这意味着报表服务角色已正确安装。

srsrpMSI.log也没有记录任何错误。
产品:ConfigMgr Reporting Services Point—配置完成成功。Windows安装程序重新配置了产品。产品名称:ConfigMgr Reporting Services Point。产品版本:5.00.9049.1000。产品语言:1033。制造商:微软公司。重新配置成功或错误状态:0。

最后,当我检查srsrp.log时,我看到报表服务器遇到配置错误.
soapexception:报表服务器遇到配置错误。——> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:报表服务器遇到配置错误。~ at Microsoft.ReportingServices.Library.ReportingService2005Impl。GetItemType(String Item, ItemType& Type)~ at Microsoft.ReportingServices.WebServer.ReportingService2005。GetItemType(String Item, itemtypeenumeration & Type)

修复报表服务器遇到配置错误
如果您启动浏览器并浏览SCCM报表,您将看到报表服务器遇到了配置错误。报告服务错误。您看到报表服务器配置错误有几个原因。
- 你还没配置报表数据库正常。
- 未创建报表服务器数据库。
- 您还没有应用Web服务URL和Web门户URL的配置。

启动报表服务器配置管理器并选择数据库.在右边窗格的下面当前报表服务器数据库,点击更改数据库.

在Change Database窗口中,您有两个选项。
- 创建一个新的报表服务器数据库—如果您知道报表服务器数据库尚未创建,则选择第一个选项。您也可以登录SQL server,检查数据库是否正确。
- 选择一个现有的报表服务器数据库—当您知道报表服务器数据库存在时,选择第二个选项。使用此选项可重新配置报表服务器数据库。
创建新的报表服务器数据库
我注意到没有创建报表服务器数据库。如果您登录到SQL server,您应该在下面找到报表服务器数据库数据库.对我来说,它不见了。因此,使用下面的步骤为报表服务器创建一个新的数据库。

选择SQL server数据库引擎的本地或远程实例,并指定具有连接到服务器的权限的凭据。点击之后测试连接确保你看到测试连接成功消息。

在数据库节中,指定报表服务器的数据库名称,然后单击下一个.

在凭证窗口中,指定报表服务器将用于连接到报表服务器数据库的现有帐户的凭据。点击下一个.

在总结窗口,验证所有设置一次,然后单击下一个.

在进度和完成窗口,确保报表服务器数据库配置向导配置了数据库。确保您在这里没有看到任何错误。点击完成.

的已配置SQL Server报表服务成功。点击退出.

在上面的步骤中,我们已经创建了一个报表服务器数据库。您可以登录到SQL服务器并验证是否在下面看到了新的数据库数据库.

完成上述更改后,不需要重新安装报告服务角色。只需等待几分钟,报告就会被部署。监控srsrp.log,您将注意到报告被添加到SCCM。

最后,报告开始同时出现在控制台和web浏览器中。我们已成功修复报表服务器遇到配置错误。我希望这篇文章能有所帮助。

嗨Prajwal,
我遵循了本文中建议的步骤。但我找不到联系。
我是软件领域的新手,正在华体会体育系列学习SQL。
我在SQL server上创建了两个数据库,在安装报表服务器时,没有连接到服务器。我试着重新安装。在“Server services are running, protocols are enabled”中查看数据库状态。
当我测试连接时,仍然得到'错误40 -无法打开连接