使用 Microsoft 登入
登入或建立帳戶。
您好:
選取其他帳戶。
您有多個帳戶
選擇您要用來登入的帳戶。

徵兆

假設您使用 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 2016 RTM 的累積更新 8

      SQL Server 2016 SP1 的累積更新 5

       SQL Server 2014 Service Pack 2 的累積更新 6

每個SQL Server的新累積更新都包含先前累積更新中包含的所有 Hotfix 與安全性修正。 查看SQL Server的最新累積更新:

SQL Server 2016 的最新累積更新

2014 年 SQL Server 的最新累積更新

狀態

Microsoft 已確認<適用於>一節中所列的 Microsoft 產品確實有上述問題。

參考資料

瞭解 Microsoft 用來描述軟體更新的 術語

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

這項資訊有幫助嗎?

您對語言品質的滿意度如何?
以下何者是您會在意的事項?
按下 [提交] 後,您的意見反應將用來改善 Microsoft 產品與服務。 您的 IT 管理員將能夠收集這些資料。 隱私權聲明。

感謝您的意見反應!

×