蔚蓝的DataFactory V2与集成运行时链接服务

问题描述 投票:0回答:1

客户端服务器上托管自IR SETUP,显示了连接到我的ADFv2。创建链接服务超时。唯一的区别我可以在此设置和以前成功设置之间看到的是,启用SQL连接需要信任服务器证书打勾。

我不知道如何信任服务器证书添加到我的JSON的SqlConnection文件。

下面删除服务器名称和密码SqlServer的链接Service.json

{
"properties": {
    "type": "SqlServer",
    "typeProperties": {
        "connectionString": {
            "type": "SecureString",
            "value": "Server=<servername>;Database=Master;User 
ID=admin;Password=<password>;Timeout=60"
        }
    },
    "connectVia": {
        "type": "integrationRuntimeReference",
        "referenceName": "Test-IR"
    }
},
"name": "SqlServerLinkedService"
}


New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential -DataFactoryName 
$dataFactoryName -ResourceGroupName $ResourceGroupName - 
IntegrationRuntimeName "TEST-IR" -File ".\SQLServerLinkedService.json
" > encryptedSQLServerLinkedService.json   

给我的错误:

 New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential : Unable to 
connect to the remote server caused by A connection attempt failed because 
the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond 
<ip address removed>:8050 At line:1 char:1
+ New-AzureRmDataFactoryV2LinkedServiceEncryptedCredential -DataFactory ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : CloseError: (:) [New- 
AzureRmData...yptedCredential], GeneralException
+ FullyQualifiedErrorId : 

Microsoft.Azure.Commands.DataFactoryV2.NewAzureDataFactoryLinkedServiceEncryptedCredentialCommand

azure azure-data-factory-2
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.