MS SQL Server Reporting Service升级

案例参考: MS SSRS 2014->MS SSRS 2019

因为Microsoft SQL Server 2019 Reporting Service是独立产品,不在集成于SQL Server 服务安装,需要单独下载MS SQL Server Reporting Service installation package进行安装并migration SSRS

Step By Step:

1. 备份原SSRS安装目录\MSRS12.MSSQLServer ,包含上面的配置文件(MSRS12是SSRS版本号信息)

2. 备份MS Reporting Service的数据库

3. 备份 Encryption Key (打开SSRS配置管理工具备份即可)

3. 备份MS Reporting Service的配置文件,做完第1步已包含这些配置文件

  1. Rsreportserver.config
  2. Rswebapplication.config
  3. Rssrvpolicy.config
  4. Rsmgrpolicy.config
  5. Reportingservicesservice.exe.config
  6. Web.config for the Report Server ASP.NET application.
  7. Machine.config for ASP.NET if you modified it for report server operations

4. 备份 SSRS 配置管理工具里的配置,截图保存

开始安装SSRS2019

开始配置SSRS,按配置管理工具左侧菜单依次设置好即可。 (如果是就地升级SSRS版本,在配置数据库时选择已存在的ReportServer数据库)

 

Troubleshooting

1. 

 

Solution 1:

检查三个地方验证SQLAgent service是否处于启动状态:

  1. SQL Server Configuration Manager 查看SQLAgent service状态
  2. Services操作系统服务列表
  3. 打开SSMS 客户端连接工具,连接SQL Server,查看SQL Agent状态

这次碰到的是前两个地方显示SQL Agent是启动着的,第三个地方显示没有启动起来,手动启动也无法启动起来,最后修改注册表,ServerHost值修改为“服务器名字”,然后再SSMS工具里手动启动SQL Agent就启动起来了。

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL12.MSSQLSERVER\SQLServerAgent

Solution 3: (Recommand),如果还出现SQL Agent自动停掉,采用第一种方案进行修复

执行下面的SQL语句,再刷新,SQL Agent就可以启动起来了

sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Agent XPs', 1;
GO
RECONFIGURE
GO

 

 

2. Subscription can't be created or edited because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid

Solution: 经检查发现report绑定的data source缺少connection string,用户补充connection string后就可以正常操作了

 

posted on 2024-07-08 17:05  追求高级技术  阅读(1)  评论(0编辑  收藏  举报