无法加密子资源负载,错误是:无法在自托管 IR 上加密链接服务凭据
Failed to encrypt sub-resource payload and the error is: Failed to encrypted linked service credentials on self-hosted IR
我正在开发一个 ETL 解决方案,使用 .NET 和 Azure 数据工厂将数据从本地 SQL 服务器移动到 Azure。自托管 IR 设置正确并且 运行 正在 Azure 门户上运行,但是当我 运行 代码时我得到这个异常:
Failed to encrypt sub-resource payload and error is: Failed to encrypted linked service credentials on self-hosted IR reason is: InternalServerError, error message is: Internal Server Error..
ConnectionString
用于本地 SQL 服务器服务器为纯文本且未加密。
我该如何解决这个问题?
我自己找到了一个解决方案,并且有效。我希望它能帮助也遇到同样问题的人。
您需要设置 EncryptedCredential
的值,不需要设置 Password
属性。
并像这样设置 Connection String
:
我正在开发一个 ETL 解决方案,使用 .NET 和 Azure 数据工厂将数据从本地 SQL 服务器移动到 Azure。自托管 IR 设置正确并且 运行 正在 Azure 门户上运行,但是当我 运行 代码时我得到这个异常:
Failed to encrypt sub-resource payload and error is: Failed to encrypted linked service credentials on self-hosted IR reason is: InternalServerError, error message is: Internal Server Error..
ConnectionString
用于本地 SQL 服务器服务器为纯文本且未加密。
我该如何解决这个问题?
我自己找到了一个解决方案,并且有效。我希望它能帮助也遇到同样问题的人。
您需要设置 EncryptedCredential
的值,不需要设置 Password
属性。
并像这样设置 Connection String
: