徵兆
假設您使用 Microsoft SQL Server 2014 或 2016 Reporting Services (SSRS) 將報表匯出至 .pdf 檔案。 如果頁面高度設定為 8.5 英吋,可能會發生未處理的例外狀況。 此外,類似以下的錯誤訊息會記錄在 Reporting Service 錯誤記錄檔中:
報表人!ReportServer_0-485!f60!日期-時間::e 錯誤:寄送 Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException:在呈現報表時發生錯誤。 ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException:報告轉譯時發生錯誤。 ---> System.IndexOutOfRangeException:Index 超出陣列的界限。
at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessTablixContainer (RPLTablix tablix, RectangleF position, Single[] rowStarts, Single[] columnStarts) at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessReportItem (RPLItemMeasurement 測量,RectangleF bounds, Boolean renderBorders, RectangleF styleBounds, Boolean renderStylesOnBounds, Boolean hasTablixCellParent) at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessNonTablixContainerReportItems (RPLContainer 容器,RectangleF bounds) at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessReportItem (RPLItemMeasurement 測量,RectangleF bounds, Boolean renderBorders, RectangleF styleBounds, Boolean renderStylesOnBounds, Boolean hasTablixCellParent) at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessPage (RPLReport rplReport, Int32 pageNumber, FontCache sharedFontCache, List'1 字元Cache) at Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render (Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream) at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) ---內部例外堆疊追蹤--- 結尾 at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render (Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.InvokeRenderer (IRenderingExtension 轉譯器,Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute (IRenderingExtension newRenderer) ---內部例外堆疊追蹤---結尾; 圖書館!ReportServer_0-485!f60!日期-時間::i INFO:轉儲結果:外部轉儲處理常式傳回程序代碼0x20000001。解決方案
此問題已在下列SQL Server累積更新中修正:
每個SQL Server的新累積更新都包含先前累積更新中包含的所有 Hotfix 與安全性修正。 查看SQL Server的最新累積更新:
狀態
Microsoft 已確認<適用於>一節中所列的 Microsoft 產品確實有上述問題。
參考資料
瞭解 Microsoft 用來描述軟體更新的 術語 。