KB4024563 – OPRAVA: Nespracovaná výnimka pri exporte zostavy SSRS do súboru .pdf, ak je výška strany nastavená na 8,5 palca v SQL Server 2014 alebo 2016

Vzťahuje sa na
SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2014 Enterprise - duplicate (do not use)

Príznaky

Predpokladajme, že na exportovanie zostavy do súboru .pdf používate službu Microsoft SQL Server 2014 alebo 2016 Reporting Services (SSRS). Ak je výška strany nastavená na 8,5 palca, môže sa vyskytnúť nespracovaná výnimka. Okrem toho sa do denníka chýb služby vytvárania zostáv zapisujú podobné chybové hlásenia:

Poznámka

Vykresľovanie zostáv! ReportServer_0-485!F60! dátum a čas:: e CHYBA: Hádzanie Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: Počas vykresľovania zostavy sa vyskytla chyba. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: Počas vykresľovania zostavy sa vyskytla chyba. ---> System.IndexOutOfRangeException: Index bol mimo hraníc poľa.
   at Microsoft.ReportingServices.Rendering.ImageRenderer.ProcessTablixContainer(RPLTablix tablix, RectangleF position, Single[] rowStarts, Single[] columnStarts)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.ProcessReportItem(RPLItemMeasurement measurement, RectangleF bounds, Boolean renderBorders, RectangleF styleBounds, boolean renderOnBounds, boolean hasTablixCellParent)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessNonTablixContainerReportItems(RPLContainer container, RectangleF bounds)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.ProcessReportItem(RPLItemMeasurement measurement, RectangleF bounds, Boolean renderBorders, RectangleF styleBounds, boolean renderOnBounds, boolean hasTablixCellParent)
   at Microsoft.ReportingServices.Rendering.ImageRenderer.Renderer.ProcessPage(RPLReport rplReport, Int32 pageNumber, FontCache sharedFontCache, List'1 glyphCache)
   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, createAndRegisterStream)
   --- Koniec vnútorného zoskupenia výnimiek ---
   at Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream, createAndRegisterStream, createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.InvokeRenderer(IRenderingExtension renderer, Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream)
   at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
   --- End of inner exception stack trace ---;
knižnice! ReportServer_0-485!F60! dátum a čas:: i INFO: Výsledok výpisu: Externý proces výpisu 0x20000001.

Riešenie

Tento problém je opravený v nasledujúcich kumulatívnych aktualizáciách pre SQL Server:

Kumulatívna aktualizácia 8 pre SQL Server 2016 RTM

Kumulatívna aktualizácia 5 pre SQL Server 2016 SP1

Kumulatívna aktualizácia 6 pre balík Service Pack 2 pre SQL Server 2014

Informácie o kumulatívnych aktualizáciách pre SQL Server

Každá nová kumulatívna aktualizácia SQL Server obsahuje všetky rýchle opravy a opravy zabezpečenia, ktoré boli zahrnuté v predchádzajúcej kumulatívnej aktualizácii. Pozrite si najnovšie kumulatívne aktualizácie pre SQL Server:

Najnovšia kumulatívna aktualizácia pre SQL Server 2016

Najnovšia kumulatívna aktualizácia pre SQL Server 2014

Stav

Spoločnosť Microsoft potvrdila, že ide o problém v produktoch spoločnosti Microsoft, ktoré sú uvedené v časti Vzťahuje sa na.

Odkazy

Získajte informácie o terminológii, ktorú Microsoft používa na popis aktualizácií softvéru.