有解决数据导入错误的功能吗?

问题描述

我正在尝试从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)

我尝试缩小数据库截断日志文件,但仍然出现相同的错误

解决方法

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

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

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