SSIS Destination Component uses Fast-load mode error

Source: Internet
Author: User
Tags bulk insert ssis

View a package's historical message data and find that DataFlow Task is frequently faulted, and the description of the error message is:

Description: "While reading current row from host, a premature end-of-message is Encountered--an incoming data stream was Interrupted when the server expected to see more data. The host program could have terminated. Ensure that is using a supported client application programming interface (API).

The reason for the error is that an error occurs when importing data into nvarchar (max) or varchar (max) column using Fast-load.

When the destination component uses Fast-load mode, SQL Server actually inserts the data using the bulk INSERT. If Targe table exists nvarchar (max) or varchar (max) column,ssis uses BULK INSERT, an error occurs.

In the error in SSIS Data Flow when using Fast Load, it is said that using computed Column also causes fast-load errors, which I have tested without errors.

Reference doc:

Bulk Load fails with nvarchar (max)

Unable to Bulk Insert with NVARCHAR (MAX) Column

Bulk load Error:while reading current row from host, a premature end-of-message is encountered.

SSIS Destination Component uses Fast-load mode error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.