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.

徵狀

假設您有一個大型 Microsoft SQL Server 2012 Reporting Services (SSRS 2012)或包含許多運算式的 SSRS 2014 報告。 當您將報表上傳至 Reporting Services 報表管理員時,可能會收到下列錯誤訊息:

編譯運算式時發生意外的錯誤。 原生編譯器傳回值: ' [BC30494] 行太長。」(rsUnexpectedCompilerError).

解決方案

累積更新資訊

此問題最初是在 SQL Server 的後續累積更新中修正。

每個新的 SQL Server 累計更新都包含所有的修正程式,以及前一個累積更新中所包含的所有安全性修正程式。 我們建議您下載並安裝最新的 SQL Server 累積更新:

因應措施

若要解決此問題,請將報表的節移到個別的子報表,讓每個報表使用少於1000的文字方塊。

其他相關資訊

原因包含許多運算式的報表,可能會導致動態產生的程式程式碼,其長度超過 Visual Basic 編譯器所強制的行長度限制。

狀態

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!

×