Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bacpac export errors

I'm trying to export sitecore database to bacpac so that it can be restored to SQL Azure.

However, I'm getting error below:

One or more unsupported elements were found in the schema used as part of a data package.

Error SQL71564: The element Extended Property: [dbo].[Fields].[MS_DiagramPane1] is not supported when used as part of a data package (.bacpac file).
Error SQL71564: The element Extended Property: [dbo].[Fields].[MS_DiagramPaneCount] is not supported when used as part of a data package (.bacpac file).
Error SQL71564: Table Table: [dbo].[ArchivedFields] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[ArchivedItems] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Blobs] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[ClientData] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[History] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[IDTable] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Items] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Links] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Notifications] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Properties] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[PublishQueue] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Shadows] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[SharedFields] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[Tasks] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[UnversionedFields] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[VersionedFields] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
Error SQL71564: Table Table: [dbo].[WorkflowHistory] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
 (Microsoft.SqlServer.Dac)
like image 440
Nil Pun Avatar asked Nov 15 '15 06:11

Nil Pun


2 Answers

Based on the errors, it looks like you're using an old version of the export tools. I would suggest installing the latest version of SSMS 2016 Preview, available from here: https://msdn.microsoft.com/en-us/library/mt238290.aspx

This version of SSMS has support for the latest Azure SQL Database V12 features.

like image 67
Steven Green Avatar answered Sep 29 '22 12:09

Steven Green


I added a primary key to each of these tables- fixed the errors for me -Ronen Shemesh, crakomili.net

like image 35
Ronen Shemesh Avatar answered Sep 29 '22 11:09

Ronen Shemesh