案例环境:
操作系统版本: Windows Server 2012 R2 Standard
数据库版本 : SQL SERVER 2012 SP2
案例介绍:
今天进入一台新安装的SQL Server服务器的Reporting Service管理界面时,出现如下错误信息
The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
最终发现是因为SQL Server安装过程中,勾选了Reporting Service的 ”Install but do not configure“,在使用Reporting Service之前必须先配置报表服务。在命令窗口执行下面命令(对应的账号、密码根据具体环境情况替换)即可
rsconfig -c -s <SQLSERVERNAME> -d reportserver -a Windows -u <MYDOMAIN\MYACCOUNT> -p <PASSWORD>