简体   繁体   English

DACPAC未部署到Azure SQL数据库V12

[英]DACPAC not deploying to Azure SQL Database V12

I've created an new SQL V12 database on azure. 我在azure上创建了一个新的SQL V12数据库。 I've been enabled to update that database once to the model we have in our database project. 我已经能够将数据库一次更新为数据库项目中的模型。 We did this by using the 'Register as Data-tier Application' in SQL Management Studio. 我们通过使用SQL Management Studio中的“注册为数据层应用程序”来完成此操作。

Now we have an update on our model and we want to update our database again with a new DACPAC. 现在,我们对模型进行了更新,我们希望使用新的DACPAC再次更新数据库。 When we use the function 'Upgrade Data-tier Application' (again trough SQL Management Studio) we get the error message: 当我们使用功能“升级数据层应用程序”(再次通过SQL Management Studio)时,我们收到错误消息:

TITLE: Microsoft SQL Server Management Studio 标题:Microsoft SQL Server Management Studio

Databases registered as a DAC database must be hosted by an instance of SQL 2005 SP4, SQL 2008 SP2, SQL 2008 R2, SQL 2012, SQL 2014 or Microsoft Azure SQL Database. 注册为DAC数据库的数据库必须由SQL 2005 SP4,SQL 2008 SP2,SQL 2008 R2,SQL 2012,SQL 2014或Microsoft Azure SQL数据库的实例托管。 (Microsoft.SqlServer.Dac) (Microsoft.SqlServer.Dac)

------------------------------ ADDITIONAL INFORMATION: - - - - - - - - - - - - - - - 附加信息:

Unable to proceed with DAC operations on the target instance because it does not support DACs. 由于目标实例不支持DAC,因此无法继续对其进行DAC操作。 Specify another instance, or upgrade to a version that supports DACs. 指定另一个实例,或升级到支持DAC的版本。 (Microsoft.Data.Tools.Schema.Sql) (Microsoft.Data.Tools.Schema.Sql)

Very strange notification cause the database is already registered as Data-tier application and has been deployed once. 非常奇怪的通知,因为该数据库已经被注册为数据层应用程序,并且已经部署了一次。 I can't find any logs giving more details. 我找不到任何提供更多详细信息的日志。

Our Database project has the target platform: "Microsoft Azure SQL Database V12" so that is the correct one. 我们的数据库项目具有目标平台:“ Microsoft Azure SQL数据库V12”,因此是正确的平台。

Did you get anywhere with this? 你有什么办法吗? I'm encountering the same error. 我遇到了同样的错误。 Need Azure SQL V12 so I can include Always Encrypted CMK/CEK and column encryption settings with the dacpac. 需要Azure SQL V12,因此我可以在dacpac中包含Always Encrypted CMK / CEK和列加密设置。 Also, I'm deploying to a 另外,我正在部署到

I tried deploying from SSMS 17.2 and VS2015 w/ SSDT 14.0.61021.0 with no success. 我尝试从带有SSDT 14.0.61021.0的SSMS 17.2和VS2015进行部署,但没有成功。 I had originally published to the same DB with the DACPAC target as "Azure SQL Database" (not V12). 我最初将具有DACPAC目标的数据库发布为“ Azure SQL数据库”(不是V12)。 Then later needed to change to V12 so I could build the dacpac with CEKs, CMKs and column encryption settings. 然后,以后需要更改为V12,以便我可以使用CEK,CMK和列加密设置来构建dacpac。 After changing to V12 I started getting the same failure message. 更改为V12后,我开始收到相同的失败消息。

I was able to publish for V12 target from VS2015 SSDT to the existing DB if I unchecked the "Register as Data-tier application" checkbox. 如果取消选中“注册为数据层应用程序”复选框,则能够将VS2015 SSDT中的V12目标发布到现有数据库。 Also, I created a new DB and made my first dacpac deployment the one targeting V12 and it succeeded as well. 另外,我创建了一个新的数据库,并使我的第一个dacpac部署成为针对V12的一个,它也成功了。 I would think the dac framework would be able to handle the target Azure SQL DB to Azure SQL DB V12, but it seems not. 我认为dac框架将能够处理目标Azure SQL DB到Azure SQL DB V12,但似乎没有。

Hope this helps you or someone else that runs into this. 希望这对您或遇到此问题的其他人有所帮助。

暂无
暂无

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

相关问题 Azure SQL数据库v12-全文查询 - Azure SQL Database v12 - Full-text query SQL Server Management Studio 2014:无法在Azure SQL数据库V12上查看存储过程 - SQL Server Management Studio 2014: Unable to view stored procedures on Azure SQL Database V12 无法在Azure SQL数据库V12上启用全文搜索 - Cannot enable Full-Text search on Azure SQL Database V12 Azure SQL V12的最佳流利NHibernate配置? - Best fluent NHibernate configuration for Azure SQL V12? 全文搜索慢速SQL V12 Azure - Fulltext search slow SQL V12 Azure 错误 SQL71624:权限 'CONNECT' 对 Microsoft Azure Z9778840A0100CB30C9828767241B0B5A2Z 数据库 v1 中的目标 object 'guest' 无效 - Error SQL71624: The permission 'CONNECT' is not valid for the target object 'guest' in Microsoft Azure SQL Database v12 从v12中将.bacpac文件删除/重新导入到同一服务器表中时,不会导入Azure SQL数据库 - When Deleting/Re-importing a .bacpac file from v12 Azure SQL Database in to the same server tables are not imported 创建Azure SQL V12全文索引非常慢 - Creating Azure SQL V12 Full Text Index is very slow SSMS 2016错误导入Azure SQL v12 bacpac:不支持密码的主密钥 - SSMS 2016 Error Importing Azure SQL v12 bacpac: master keys without password not supported 自动化Azure SQL DB导出失败-MS Azure SQL DB v12不支持为文档类型.xml编制索引 - Automated Azure SQL DB export fails - indexing for document type .xml is not supported on MS Azure SQL DB v12
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM