Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

請試想下列案例:

  • 在 SharePoint 網站或報表管理員中,選取 [報表服務] 報表。

  • 報告包含文字方塊,其中的 HTML 選項會選取 [將Html 標記轉譯成樣式]。

當您嘗試將報表匯出至 Excel 活頁簿時,操作失敗。 此外,Reporting Services 記錄中還會記錄下列錯誤:

[/Reports] 應用程式中的 [伺服器錯誤]。執行時間錯誤描述: 伺服器上發生應用程式錯誤。 此應用程式的目前自訂錯誤設定會防止遠端查看應用程式錯誤的詳細資料(出於安全考慮)。 不過,您可以透過在本機伺服器電腦上執行的瀏覽器來查看它。

此錯誤也會記錄在 Reporting Services 記錄中:

Reportrendering!ReportServer_0-2!614!日期時間:: e 錯誤:引發 ReportingServices ReportProcessing:,UnhandledReportRenderingException:,: ReportingServices. ReportProcessing. 在呈現報表期間發生錯誤。 ---> OnDemandReportRendering ReportRenderingException:轉譯報表時,發生錯誤。 ReportingServices > ExcelRenderer.---OXML. FatalException: Excel 轉譯延伸: ExcelGenerator (字串值)(ReportingServices font) valid.at. ExcelOpenXmlRenderer. Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.Model.XMLFontRunModel.set_Name (樣式 XMLFontRunModel),在(Style SetFont)的(Style XMLFontModel)中。 ReportingServices (() ExcelOpenXmlRenderer (() RichTextInfo. cellStyle ()。 OpenXmlGenerator SetColumnCoNtext (Int32 columnIndex)。 ReportingServices. ExcelRenderer (LayoutEngine Excel,字串索引鍵,字典 "2 RenderPageToExcel,字典" 2 IExcelGenerator)在 Microsoft. sharedBorderCache. sharedImageCache () ReportingServices (RPLReport 報表、布林 headerInBody、布林 suppressOutlines): ReportingServices. ExcelRenderer. (報表報表、ExcelRenderer NameValueCollection、ReportServerParameters NameValueCollection、DeviceInfo NameValueCollection、Hashtable& ClientCapabilities、RenderProperties createAndRegisterStream)---內部例外堆疊追蹤的結尾---

原因

這個問題會發生在 OXML 寫入程式參數驗證期間的 Excel 轉譯器中。 具體說來,如果文字方塊中的字型名稱,且包含每個文字執行的字型指示超過31個字元,就會發生此問題。

解決方案

此問題已在 SQL Server 的下列累積更新中修正:

SQL Server 2016 SP1 的累積更新2

Sql server 2016 累計更新 4: sql SERVER2014 SP2累積更新10(適用于 sql server 2014 SP1 )  

SQL Server 2012 累積更新5(Service Pack 3)

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 查看 SQL Server 的最新累計更新:

SQL Server 2016 的最新累計更新

SQL Server 2014 SP1/SP2 的最新累計更新

SQL Server 2012 SP3 的最新累計更新 

狀態

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

參考

瞭解 Microsoft 用於描述軟體更新的 詞彙

Need more help?

Want more options?

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

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

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×