2014-09-29 36 views
1

當我嘗試從本地MSSQL數據庫上運行的數據庫生成BACPAC我得到一個錯誤:如何在創建BACPAC時將Sql Server Management Studio配置爲忽略視圖上的某些擴展屬性?

One or more unsupported elements were found in the schema used as part of a data package. 
Error SQL71564: The element Extended Property: [dbo].[EnabledCompany].[MS_DiagramPane1] is not supported when used as part of a data package (.bacpac file). 
Error SQL71564: The element Extended Property: [dbo].[EnabledCompany].[MS_DiagramPaneCount] is not supported when used as part of a data package (.bacpac file). 
(Microsoft.SqlServer.Dac) 

[EnabledCompany]是一個由一個選擇的單個表簡單的圖,其中基於比特列的過濾器。 (它只顯示IsEnabled == true的公司)。

我正在使用最新版本的工具(SSMS)的SQL Server 2014。

+1

擴展屬性支持在最新的SQL數據庫更新V12(預覽版)中提供 - 有關詳細信息,請參閱http://azure.microsoft.com/zh-cn/documentation/articles/sql-database-preview-whats-new/ 。如果您使用SSMS CU5更新(http://support.microsoft.com/kb/3011055),則支持導出包含擴展屬性的bac​​pac文件,然後將其導入到已啓用V12預覽支持的數據庫中 – 2015-01-09 18:11:26

回答

1

對此的一種解決方法是刪除視圖上的擴展屬性。

這將允許導出數據庫。

然而,它會打破有問題的視圖的圖形設計器,所以不理想。

相關問題