KB2972411 - 修正:在 SSRS 2012 或 SSRS 2014 中列印、列印預覽或匯出報告為 PDF 時會出錯

套用到
SQL Server 2014 Business Intelligence - duplicate (do not use)

症狀

假設你有一個包含兩個或以上群組的 tablix,且 LayoutDirection 在 2012 SQL Server Reporting Services (SSRS 2012) 或 2014 SQL Server Reporting Services (SSRS 2014) 設定為 RT Microsoft L。 使用報告時,你可能會遇到以下問題:

  • 當您列印報告時,會收到以下錯誤訊息:

    注意

    列印過程中發生錯誤。 ( 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 (Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +425
       Microsoft.Reporting.WebForms.ServerModeSession.RenderReport (字串格式、布林allowInternalRenderers、String deviceInfo、NameValueCollection additionalParams、布林cacheSecondaryStreamsForHtml、String& mimeType、String& 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 步驟,布林& 完成同步) +177

解決方式

此問題首次在 SQL Server 的累積更新中得到修正。

2014 SQL Server 累積更新 4 /en-us/help/2999197

2012 SQL Server SP2 累積更新 2 /en-us/help/2983175

2012 SQL Server SP1 累積更新 11 /en-us/help/2975396

關於 SQL Server 的累積更新

每次新的 SQL Server 累積更新都包含了之前累積更新中包含的所有熱修補與安全修補。 請查看 SQL Server 的最新累積更新:

      

狀態

Microsoft 已確認這是「適用對象」一節中列出的 Microsoft 產品中的問題。