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.

徵狀

請試想下列案例:

  • 您可以在 Visual Studio 2012 中建立一個簡單的 ASP.NET web 應用程式專案。

  • 您要建立新的資料集,請指向 Microsoft SQL Server 2012 或 SQL Server 2014 的任何 SQL 實例,並使用任何資料表。

  • 您建立新的 .RDLC 報表,並將它與資料集系結。

  • 從報表檢視器2012的 [屬性] 圖示中,選取 [新增報表]。

  • 按一下 [ 選取資料來源 ],然後從 [資料來源實例] 下拉式清單中,選取 [在步驟2中限制的資料集]。

在這種情況下,Visual Studio 2012 會立即當機。注意: 在 Microsoft SQL Server 2014 中也會發生這個問題。

原因

發生這個問題的原因是,程式碼變更會將 DTEUtil 的複本移至 WebDesign 元件,且編譯時會使用舊版 VisualStudio 的參考。 這會在您呼叫 GetGlobalService 函數時產生失敗。

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

狀態

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!

×