SSRS執行report builder報錯 的解決方案
無法開啟report builder
報錯內容1:無法下載應用程式。應用程式中缺少必須的檔案。請於應用程式供應商聯絡以獲得幫助。
log:以下是錯誤摘要,這些錯誤的詳細資訊列在該日誌的後面。
* 啟用 D:\Downloads\ReportBuilder_3_0_0_0.application 導致異常。 檢測到下列失敗訊息: + 下載 file:///D:/Downloads/RptBuilder_3/MSReportBuilder.exe.manifest 未成功。 + 未能找到路徑“D:\Downloads\RptBuilder_3\MSReportBuilder.exe.manifest”的一部分。
========解決方案=======
1.永遠用IE開啟。不要使用chrome/firefox開啟report builder。
2.執行以下cmd命令。
rundll32 dfshim CleanOnlineAppCache
原文:
- First of all, always use Internet Explorer to connect to reports and download report builder. In my experience this issue is seen when you attempt to download report builder via
- Run the below command by opening command prompt as administrator. This command basically clears the local application cache. Download the report builder and run the app.
rundll32 dfshim CleanOnlineAppCache
報錯內容2 (其他因SQL SERVER R2 Service Pack 3版本問題造成的):
We have discovered a problem with Report Builder that ships with SQL Server 2008 R2 Service Pack 3. If you installed SQL Server 2008 R2, have upgraded it to Service Pack 2 and then applied Service Pack 3, then Report Builder will fail to launch. It will raise the following error. ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://.../ReportServer/ReportBuilder/ReportBuilder_3_0_0_0.application resulted in exception. Following failure messages were detected: + File, Microsoft.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
官方解釋不打算修復這個問題(真是坑爹),它建議執行下面兩個解決辦法:
1: 客戶端
從連結http://www.microsoft.com/en-pk/download/details.aspx?id=6116下載安裝SQL SERVER 2008 R2 RTM的Report Builder 3.0
或者從連線http://www.microsoft.com/en-us/download/details.aspx?id=42301限制安裝SQL SERVER 2014的Report Builder。
2:伺服器端
解除安裝SP3,然後解除安裝 SP2,然後從新應用SP3來解決問題。
ref:
We are not planning to release a fix for this issue. Instead we recommend you implement one of the following workarounds.
- Client side workaround:
- Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM from the following location:http://www.microsoft.com/en-pk/download/details.aspx?id=6116
- Or install and run Report Builder of SQL Server 2014 from the following location: http://www.microsoft.com/en-us/download/details.aspx?id=42301
- Server side workaround:
- Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.