首页 > 解决方案 > 有解决数据导入错误的功能吗?

问题描述

我正在尝试将数据从 MS Access 导入 SQL Server,这个过程曾经有效,今天我无法导入数据。当我尝试使用 SQL Server 导入和导出向导导入数据时,会显示下一个错误:

- Copying to [dbo].[Measurements] (Error)
Messages
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: "Could not allocate a new page for database 'MITSF_2' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
 (SQL Server Import and Export Wizard)
 
Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Destination - Measurements.Inputs[Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Destination - Measurements.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 - Measurements" (778) failed with error code 0xC0209029 while processing input "Destination Input" (791). 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 - Measurements 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-serverdata-import

解决方案


似乎很清楚你的磁盘空间不足:

说明:“由于文件组 'PRIMARY' 中的磁盘空间不足,无法为数据库 'MITSF_2' 分配新页面。

有时会发生这种情况的一种方式是,如果您处于完全恢复模式并且未备份事务日志。


推荐阅读