【问题标题】:Error Received while importing data using Flat File into SQL server使用平面文件将数据导入 SQL 服务器时收到错误
【发布时间】:2021-05-05 23:35:57
【问题描述】:

我正在尝试将平面文件导入 SQL Server 表,但收到以下错误。我验证了映射看起来不错,大约 500 万个数据被加载到表中,然后它失败了。任何帮助将不胜感激。

  • 复制到 [dbo].[TABLE1](错误)

消息

Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Communication link failure".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "TCP Provider: The semaphore timeout period has expired.
".
 (SQL Server Import and Export Wizard)
 
Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Destination - TABLE1.Inputs[Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Destination - TABLE1.Inputs[Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
 (SQL Server Import and Export Wizard)
 
Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - TABLE1" (370) failed with error code 0xC0209029 while processing input "Destination Input" (383). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
 (SQL Server Import and Export Wizard)
 
Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
 (SQL Server Import and Export Wizard)
 
Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - TABLE1_txt returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
 (SQL Server Import and Export Wizard)

【问题讨论】:

    标签: sql-server import etl oledb


    【解决方案1】:

    TCP Provider: The semaphore timeout period has expired 尝试使用Chunks 并在此处查看Example。 还请指定您尝试将多大的FlatFile(较大的那个)放入 SQL Server 中?

    【讨论】:

    • @Aarthy 你试过我给你的建议了吗?
    猜你喜欢
    • 2023-01-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-23
    • 1970-01-01
    • 2023-03-14
    • 1970-01-01
    相关资源
    最近更新 更多