ADF Copy - Cannot find server, but linked service and preview data work

John Aherne 121 Reputation points
2022-05-20T20:23:21.207+00:00

Hi All,

I am trying to copy data to an Azure SQL Database using ADF copy. The linked service works, it's using the ADF managed identity to connect, and I can preview data on the Azure SQL Database in my dataset.

However, the copy activity throws an error saying it cannot find the server (error below).

Any ideas what I am missing?

Thanks!

A network-related or instance-specific error occurred while establishing a connection to 
SQL Server. The server was not found or was not accessible. 
Verify that the instance name is correct and that SQL Server is configured to allow remote connections. 
(provider: TCP Provider, error: 0 - 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.),
Source=.Net SqlClient Data Provider,SqlErrorNumber=10060,Class=20,ErrorCode=-2146232060,State=0,
Errors=[{Class=20,Number=10060,State=0,Message=A network-related 
or instance-specific error occurred while establishing a connection to SQL Server. 
The server was not found or was not accessible. Verify that the instance name is correct 
and that SQL Server is configured to allow remote connections.
Azure SQL Database
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,513 questions
{count} votes

Accepted answer
  1. Nandan Hegde 29,886 Reputation points MVP
    2022-05-21T16:56:50.54+00:00

    Hey,
    Can you please clarify whether the source in copy activity is leveraging any integration runtime?
    Based on the above scenario, it seems to be the case. So you need to make sure that the Azure sql database is accessible from the server hosting the ir. That should resolve your issue


0 additional answers

Sort by: Most helpful