1

Azure数据工厂 - 入门。 (一个类似的问题没有回答。)Azure数据工厂:AzureSql的LinkedService处于失败状态

我正在使用数据工厂将数据从存储移动到Azure SQL表。 我可以创建链接的服务器正常,但到时候我尝试引用它在操作失败,在LinkedService指向错误数据集:

statusCode:BadRequest serviceRequestId:f1e0d752-6d10-42db-b445-6c59d8eaf074 statusMessage:{"message":"Linked service AzureSqlLinkedService is not ready. Current status: Failed. If AzureSqlLinkedService is in failed state, you can investigate by getting the object and inspecting the error message, then decide whether you need to update some of its properties or recreate the object.","code":"LinkedServiceNotReady"}

我试图调查其现在显示的AzureSqlLinkedService一个错误:

ENTITY PROVISIONING FAILED: FAILED TO CONNECT TO LINKED SERVICE. ERRORCODE:-2146232060.

此代码出现在广泛不同的上下文中,所以不是很好,但错误消息似乎是有效的。我已打开防火墙以允许连接到SQL Azure,并且没有发现有关凭证或连接的错误。

我试图从PowerShell获得更多,但没有喜悦:“ProvisioningState:失败”是所有它增加。

请指点?

回答

1

此错误表示ADF无法连接到您正在定义为LinkedService的Azure SQL数据库。您是否在Azure SQL Server上启用了“允许访问Azure服务”设置?

-1

此外,仔细检查您的连接字符串。 SQL Azure服务器肯定会遇到问题,或者正在进行身份验证。

0

试试这个

 
"connectionString": "Server=tcp:.database.windows.net,1433;Database=;User ID=;Password=;Integrated Security=False;Encrypt=True;Connection Timeout=30" 
相关问题