未知的外部数据源类型 - 始终加密

时间:2017-07-06 10:39:45

标签: azure ssms-2016 always-encrypted

我已经在我的本地创建了自签名证书,并在Azure Key Vault中上传。所以我可以将它用于我的始终加密(Azure SQL DB中的列加密)

最初我遇到了Purge issue and solved it here

继续进行,我在执行加密操作时遇到错误

这是我的日志文件

Jul 6 2017 16:01:16: Log opened. TraceLevel:Informational
Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:Source database settings.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message: Source server name: xxx.database.windows.net.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message: Source database name: db.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:Create new encryption key.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message: New encryption key: CEK_Auto1.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:Encrypt column blobname.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:   Table name: filenames.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:   Encryption key name: CEK_Auto1.

Jul 6 2017 16:01:37 [Informational] WizardSummary: Message:   Encryption type: Deterministic.

Jul 6 2017 16:01:38 [Informational] WorkitemExecution: Message:Work item 'Generate new column encryption key CEK_Auto1' started..

Jul 6 2017 16:01:38 [Informational] TaskUpdates: Message:Task: 'Generate new column encryption key CEK_Auto1' -- Status: 'Started' -- Details: 'Task 'Generate new column encryption key CEK_Auto1' started ....'.

Jul 6 2017 16:01:40 [Informational] TaskUpdates: Message:Task: 'Generate new column encryption key CEK_Auto1' -- Status: 'Completed' -- Details: 'Task 'Generate new column encryption key CEK_Auto1' completed'.

Jul 6 2017 16:01:40 [Informational] WorkitemExecution: Message:Work item 'Generate new column encryption key CEK_Auto1' stopped..

Jul 6 2017 16:01:40 [Informational] WorkitemExecution: Message:Work item 'Generate new column encryption key CEK_Auto1' completed successfully!.

Jul 6 2017 16:01:40 [Informational] WorkitemExecution: Message:Work item 'Performing encryption operations' started..

Jul 6 2017 16:01:40 [Informational] TaskUpdates: Message:Task: 'Performing encryption operations' -- Status: 'Started' -- Details: 'Task 'Performing encryption operations' started ....'.

Jul 6 2017 16:02:15 [Informational] TaskUpdates: Message:Task: 'Performing encryption operations' -- Status: 'Failed' -- Details: 'Task failed due to following error: Unknown external data source type'.

Jul 6 2017 16:02:15 [Informational] WorkitemExecution: Message:Work item 'Performing encryption operations' stopped..

Jul 6 2017 16:02:15 [Error] WorkitemExecution: Message:Work item 'Performing encryption operations' did not complete. Details: Unknown external data source type.

Jul 6 2017 16:02:15 [Informational] Log Closed: Message:Job processing completed.

主要错误是未知的外部数据源类型

更新

我可以使用标准定价级

的其他Azure数据库克服此错误

2 个答案:

答案 0 :(得分:0)

您是否注册了Azure Key Vault提供程序?你配置了万能钥匙吗? 请阅读以下文章:

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-always-encrypted-azure-key-vault

希望这有帮助。

此致

Alberto Morillo

答案 1 :(得分:0)

此问题已在 SSMS V17.2 中解决 您可以从here

下载最新版本