copydata activity getting error code 2200

Kothapalli Srinivasarao 131 Reputation points
2022-12-08T13:25:56.61+00:00

Hello All,

Pls help me to resolve this issue.

when I was run the copy data activity, I am getting the below error.

{
"errorCode": "2200",
"message": "ErrorCode=AdlsGen2OperationFailed,' Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException, Message=ADLS Gen2 operation failed for: An error occurred while sending the request.. Account: 'txcipsstacdwh'. FileSystem: 'txcipsstacdwh'..,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.Http.HttpRequestException,Message=An error occurred while sending the request.,Source=mscorlib,''Type=System.Net.WebException,Message=The underlying connection was closed: An unexpected error occurred on a send.,Source=System,''Type=System.IO.IOException,Message=Authentication failed because the remote party has closed the transport stream.,Source=System,'",
"failureType": "UserError",
"target": "Copy data from sql to adls",
"details": []
}

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2022-12-09T09:30:34.487+00:00

    Hi @Anonymous ,

    Thankyou for using Microsoft Q&A platform and thanks for posting your query here.

    As I understand your issue, you are facing error 'Authentication failed because the remote party has closed the transport stream' while trying to copy data from SQL server to ADLS .

    Is your ADF is under managed vNet?

    This could be a firewall issue from source side. Kindly make sure 'Allow Azure Services and resources to access this server' is set to No.

    Additionally, you can leverage below resource s for better understanding:

    How to access on-premises SQL Server from Data Factory Managed VNet using Private Endpoint
    ADF copy data issue

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.