Copy file from Azure File Storage to Blob

1.7k Views Asked by At

I'm using copy data that copies a file from File Share to Blob. I always get this error:

''' ErrorCode=UserErrorFailedToCreateAzureBlobContainer,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Unable to create Azure Blob container. Endpoint: https://xxx.blob.core.windows.net/, Container Name: temp-archive.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.WindowsAzure.Storage.StorageException,Message=Unable to connect to the remote server,Source=Microsoft.WindowsAzure.Storage,''Type=System.Net.WebException,Message=Unable to connect to the remote server,Source=System,''Type=System.Net.Sockets.SocketException,Message=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 xx.xxx.xxx.xxx:xxx,Source=System,' '''

Both blob and file share storage are correctly setup as I used them in my pipeline. only when I'm copying from file share to blob that this happens. Is it a limitation?

1

There are 1 best solutions below

4
On

Please do these steps to identify the error:

  1. Tested the connection of the linked services of file Storage and Blob Storage. enter image description here
  2. Preview the source data to test if the connection works well. If so, then the error is caused by sink side.
  3. Delete and recreate the linked service of sink dataset.
  4. Check the Blob Storage firewall if Data Factory can access it.