Monday, October 5, 2015

[Trouble shooting] TFS upgrade fails - The report server installation is not initialized

 TFS   Upgrade   Troubleshooting


▌背景

在升級TFS2010到2013過程中,使用TFS組態工具做升級檢查時,出現以下錯誤訊息:

「Reporting Services 未初始化報表服務器安裝」

直接進入Report Service的Portal (http://yourserver/Reports)
也是無法作用,顯示一樣的資訊。



▌Trouble Shooting



Google了一下,原來是還原舊的TFS備出來的資料庫到新的資料庫時, 並不會一併還原Reporting Service的加密金鑰。 必須要手動設定還原。

▋開啟 Reporting Services 組態管理





▋還原加密金鑰



 


同時必須要一併輸入原始金鑰的密碼。


做完以上步驟後,應該就可以成功完成升級檢核。




▋Another Error : No HTTPS URL is configured with a valid certificate

完整的英文錯誤訊息如下:

Reporting Services is configured to require a secure connection. However, no HTTPS URL is configured with a valid certificate

參考這篇文章:

打開 C:\Program Files\Microsoft SQL Server\MSRS11.YourName\Reporting Services\ReportServer\rsreportserver.config

將以下XML:
<Add Key="SecureConnectionLevel" Value="2"/>

調整為
<Add Key="SecureConnectionLevel" Value="0"/>

即可解決此問題。  至於SecureConnectionLevel此參數的定義請參考MSDN。 (以下為截錄)

在 SQL Server 2008Reporting Services 的 WMI 提供者程式庫中,SecureConnectionLevel 屬性允許 0、1、2、3 等值,其中 0 表示任何 Web 服務方法都不需要安全通訊端層 (SSL),3 表示所有 Web 服務方法都需要 SSL,而 1 和 2 則指出需要 SSL 的 Web 服務方法子集。在 SQL Server 2008Reporting Services 中,這些值將只有兩個可能的意思:
0 表示任何 Web 服務方法都不需要 SSL。
正整數表示所有 Web 服務方法都需要 SSL。




▌Reference


No comments:

Post a Comment