症狀
假設您的報表包含具有兩個以上群組的 Tablix,且 LayoutDirection 在 Microsoft SQL Server 2012 Reporting Services (SSRS 2012) 或 SQL Server 2014 Reporting Services (SSRS 2014) 中設定為 RTL。 當您使用報告時,可能會遇到下列問題:
列印報表時收到下列錯誤:
注意
列印時發生錯誤。 ( 0x80004005)
當您列印預覽報表時,收到下列錯誤:
注意
嘗試轉譯報表時發生錯誤。 (0x80004005)
當您將報表匯出為 PDF 時,收到下列錯誤:
注意
[ReportServerException: 索引不在陣列範圍之外。
[ReportServerException:報表轉譯期間發生錯誤。
[ReportServerException:報表轉譯期間發生錯誤。 (rrRenderingError) ]
Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest (AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +1002
Microsoft.Reporting.WebForms.SoapReportExecutionService.Render (AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +1121
Microsoft.Reporting.WebForms.ServerReport.InternalRender (布林值 isAbortable、字串格式、字串 deviceInfo、NameValueCollection urlAccessParameters、Stream reportStream、字串& mimeType、字串& fileNameExtension) +425
Microsoft.Reporting.WebForms.ServerModeSession.RenderReport (字串格式, 布林值 allowInternalRenderers, 字串 deviceInfo, NameValueCollection additionalParams, 布林值 cacheSecondaryStreamsForHtml, 字串& mimeType, 字串& fileExtension) +209
Microsoft.Reporting.WebForms.ExportOperation.PerformOperation (NameValueCollection urlQuery, HttpResponse 回應) +219
Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest (HttpContext 內容) +221
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute () +586
System.Web.HttpApplication.ExecuteStep (IExecutionStep 步驟,布林值& completedSynchronously) +177
解決方式
此問題已先在下列 SQL Server 累積更新中修正。
SQL Server 2014 累積更新 4 /zh-tw/help/2999197
SQL Server 2012 SP2 的累積更新 2 /zh-tw/help/2983175
SQL Server 2012 SP1 的累積更新 11 /zh-tw/help/2975396
關於 SQL Server 的累積更新
SQL Server 的每個新累積更新都包含所有 Hotfix 和先前累積更新的所有安全性修正程式。 查看 SQL Server 的最新累積更新:
狀態
Microsoft 已確認這是「適用對象」一節中列出的 Microsoft 產品中的問題。