简体   繁体   English

内部错误将BACPAC文件导入Windows Azure SQL数据库

[英]Internal error import BACPAC file to windows azure sql database

I am using MSSQL2014 version CTP2. 我正在使用MSSQL2014版本CTP2。 Running my databases through Windows Azure SQL Database management. 通过Windows Azure SQL数据库管理运行数据库。

I've created a BACPAC file via MSSQL of my local database and want to import it to Windows Azure. 我已经通过本地数据库的MSSQL创建了BACPAC文件,并希望将其导入Windows Azure。

  1. I create the BACPAC file and upload it to my BLOBSTORAGE container. 我创建了BACPAC文件,并将其上传到我的BLOBSTORAGE容器中。
  2. In Windows Azure click SQL DATABASES 在Windows Azure中,单击“ SQL数据库”。
  3. Bottom left click New 左下单击新建
  4. Click IMPORT 点击导入
  5. Choose my BACPAC URL which is the file contained in my BLOBSTORAGE 选择我的BACPAC URL,这是我的BLOBSTORAGE中包含的文件
  6. Name the DB and choose the server 命名数据库并选择服务器
  7. Click the tick 点击勾号

I then get this error: 然后我得到这个错误:

Error encountered during the service operation. 服务操作期间遇到错误。 Could not import package. 无法导入包。 Internal Error. 内部错误。 The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider is not valid. 类型为Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider的数据库平台服务无效。 You must make sure the service is loaded, or you must provide the full type name of a valid database platform service. 您必须确保已加载服务,或者必须提供有效的数据库平台服务的完整类型名称。 Internal Error. 内部错误。 The database platform service with type Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider is not valid. 类型为Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider的数据库平台服务无效。 You must make sure the service is loaded, or you must provide the full type name of a valid database platform service. 您必须确保已加载服务,或者必须提供有效的数据库平台服务的完整类型名称。

SQL DB导入错误

I can create a new database via Windows Azure which is fine but I'm trying to get my DB up because it has all my data in it. 我可以通过Windows Azure创建一个新数据库,这很好,但是我试图建立我的数据库,因为它包含了我的所有数据。

What am I doing wrong? 我究竟做错了什么?

我认为问题在于,我需要将与本地安装中设置的数据库所有者相同的数据库所有者分配给本地计算机上的数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM