2015-09-04 59 views
0

只需按照https://msdn.microsoft.com/en-us/library/ms143724.aspx中的步骤将Reporting Services安装迁移到新服务器(来自并到SQL 2012标准版) 但是,当我准备使用报告管理器Web界面验证我的部署时,出现错误:如何在迁移Reporting Services安装后在Web场中删除Ghost服务器?

The feature: "Scale-out deployment" is not supported in this edition of Reporting Services. (rsOperationNotSupported)

事实上,当我回去的Reporting Services配置管理器,在扩展部署我有2个服务器,具有不同的名称在本地服务器上的一个(新机)和旧服务器的引用。问题是,当我尝试删除它告诉我任务失败:

Microsoft.ReportingServices.WmiProvider.WMIProviderException: Unable to connect to the Report Server . ---> System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable

我能理解为什么它是不可用的,因为它是一个不同的网络上都在一起。所以我的问题是,我怎么能摆脱它,所以一切都可以最终工作?

回答

3

找到它。删除虚拟服务器的方法是连接到ReportServer数据库,并从dbo.Keys表中删除旧服务器。 重新启动Reporting Services后,旧的服务器不再在列表中。

1
USE ReportServer 
go 
select * from keys 

--for safety added to the delete ghost machine if no recent executions in last 30 days. 

delete from keys 
where MachineName = 'YourGhostServer' --replace with your old server name, if multiple run one by one. 
and MachineName not in (select substring(InstanceName,0,(charindex('\',InstanceName,0))) 
          from ExecutionLog 
         where timestart>getdate()-30 
         group by InstanceName) 

小心,只选择运行的第一部分,分析则输出复制的特定机器名称值(旧服务器名)要删除到delete语句的where子句,更换YourGhostServer空话。

请注意,Keys表可能具有网络可访问和联机的合法机器。您可以通过简单地ping它们或检查它们是否运行SSRS服务来验证这一点,而不仅仅是从表中删除实际联机的服务器,而是使用报表服务器管理器删除一台联机的服务器。

只有在旧机器真正无法访问或已经停用的情况下,才能从Keys表中删除。至少,这就是我想要做的。 :)

+0

请考虑添加有关此答案的更多详细信息。 – rcdmk

+0

确实...会的。 – Hiram

+0

好得多。 +1 – rcdmk

相关问题