【问题标题】:Error when copying data from Azure Blob Storage to SQL Server using Azure Data Factory V2使用 Azure 数据工厂 V2 将数据从 Azure Blob 存储复制到 SQL Server 时出错
【发布时间】:2018-09-20 05:30:21
【问题描述】:

触发我的 Azure 数据工厂 V2 管道时,我收到以下错误消息:

{
    "errorCode": "2109",
    "message": "Region detection for linked services with type 'SqlServer' is not supported, please specify location instead.",
    "failureType": "UserError",
    "target": "Staging"
    }

我的 Azure 数据工厂 V2 的位置为“westeurope”,包含原始数据的 blob 存储也是如此。

数据工厂中的所有链接服务都经过验证。当我按下“全部验证”时,我的工厂也声称没有错误。

我的错误的根源是什么,我该如何解决?

【问题讨论】:

    标签: azure-data-factory azure-blob-storage azure-data-factory-2


    【解决方案1】:

    要解决此问题,您必须创建一个 Azure 集成运行时并为其提供正确的位置。官方文档在这里:https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime#azure-integration-runtime 和这里https://docs.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime#integration-runtime-location

    为此,您可以将 Powershell 与 Azure SDK 结合使用,命令为 Set-AzureRmDataFactoryv2IntegrationRuntime。它有很多参数,但您必须确保使用 -Type Managed 创建它。

    例子:

    Set-AzureRmDataFactoryV2IntegrationRuntime -DataFactoryName $DataFactoryName -Name "AzureIR" -ResourceGroupName $ResourceGroupName -Type Managed -Location "West Europe"
    

    创建此内容后,请确保在 azure sql 的链接服务的 connectVia 属性中引用此内容。

    希望这有帮助!

    【讨论】:

      猜你喜欢
      • 2021-08-26
      • 2019-04-20
      • 2018-08-08
      • 2020-06-04
      • 2021-10-08
      • 2019-01-26
      • 1970-01-01
      • 2020-03-24
      • 1970-01-01
      相关资源
      最近更新 更多