2012年10月18日 星期四

無法存取Report Manager與Report Server網址問題處理

今天接到一個很特別的情境,主要問題是無法開啟Report Manager與Report Server的網址,登入後會發生無法顯示網頁的錯誤,錯誤如下,由於這個問題非常的特殊,所以我問題處理過程與方法整理如下,提供大家參考。

系統環境:
Windows 2008 R2
SQL Server 2008 R2(10.50.2500)

事前跡象:
1、開啟Report Manager與Report Server的網址時會發生無法開啟網頁。
2、當重新產生URL時,Event Log會出現rsreportserver.config格式不正確的問題。
3、確認Reporting Service的log files,發現下列的問題。

library!ReportServer_0-1!1004!xx/xx/xxxx-xx:xx:xx:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.SecureConnectionRequiredException: , Microsoft.ReportingServices.Diagnostics.Utilities.SecureConnectionRequiredException: The operation you are attempting requires a secure connection (HTTPS).;

錯誤訊息:
Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015).

解決方法:
C:\Program Files\Microsoft SQL Server\MSRS10.50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config的檔案,發現SecureConnectionLevel的值為2,將值修改為0,構重啟服務之後,問題即解決。

問題說明:
上述的問題主要是因為客戶曾經啟用SSL協定,但是後來將SSL停用後,由於移除的方式問題,所以造成網站無法存取,而且當我存取網站的時候由於是以HTTP,但是錯誤訊息仍然顯示我是以HTTPS的方式進行,所以修改SecureConnectionLevel的設定值之後,問題即可解決。

參考網址:
SecureConnectionLevel Property (WMI MSReportServer_ConfigurationSetting)
http://msdn.microsoft.com/en-us/library/ms155384.aspx


關鍵字:SSRSReporting Service0x80131015SecureConnectionLevel

沒有留言:

張貼留言