Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server SQL Server导入和导出向导错误_Sql Server_Ssis_Ms Jet Ace - Fatal编程技术网

Sql server SQL Server导入和导出向导错误

Sql server SQL Server导入和导出向导错误,sql-server,ssis,ms-jet-ace,Sql Server,Ssis,Ms Jet Ace,我正在尝试将一个82k+行表从access db导入SQL Server 2008 使用SQL Server导入和导出向导,我得到一个错误,输入了大约78k条记录 以下是错误: Error 0xc0208265: Data Flow Task 1: Failed to retrieve long data for column "members_notes". Error 0xc020901c: Data Flow Task 1: There was an error with output

我正在尝试将一个82k+行表从access db导入SQL Server 2008

使用SQL Server导入和导出向导,我得到一个错误,输入了大约78k条记录

以下是错误:

Error 0xc0208265: Data Flow Task 1:
Failed to retrieve long data for column "members_notes".

Error 0xc020901c: Data Flow Task 1: 
There was an error with output column "members_notes" (41) on output "OLE DB Source Output" (11).
The column status returned was: "DBSTATUS_UNAVAILABLE".

Error 0xc0209029: Data Flow Task 1: 
SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.
The "output column "members_notes" (41)" failed because error code 0xC0209071 occurred, and the error row disposition on "output column "members_notes" (41)" specifies failure on error.

Error 0xc0047038: Data Flow Task 1:
SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.
The PrimeOutput method on component "Source - Query" (1) returned error code 0xC0209029. 
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.
access数据库中的“成员注释”列是一个备注字段。在将此数据传输到的SQL Server表中,我将字段定义为nvarchar(MAX)

我搜索了此错误消息,并找到了一些文章,建议在执行导出/导入的计算机上收缩SQL db并清除temp文件,但这些都不起作用


还有其他人遇到过这个问题吗?

这似乎是SQL Server 2005中的一个bug,应该得到修复,请参阅


编辑:根据您下面的评论,它已在中修复。

我开始在Access数据库中搜索备注字段。最后一行在备注字段中包含“#Error”。当我在该字段中单击时,我收到以下消息:

“Microsoft Jet数据库引擎 已停止进程,因为您和 另一个用户正在尝试更改 “同时使用相同的数据”

我在Access数据库上运行了Compact和Repair。这在特定记录的备注字段中放置了一堆字符


然后,我再次尝试SQL Server导入和导出向导。那次效果很好

我没有足够的声誉来提升你的dpii答案,但它确实对我有效。这个问题让我头疼,一个简单的紧凑型结构和维修使它消失了。另外,请注意其他用户在上载(或在Access中自己打开文件)时并发使用该文件,或者您可能会遇到此错误

您能否修复blockquote,使其在代码中不那么混乱?正如您已经指出的,您已清理了临时文件。存在[bug report][1],但已在SQL Server Integration Services 2008中修复。[1] :您是否尝试过将问题一分为二,即将数据拆分为包含1000条记录(或更小)的包,或者甚至尝试只导入一行?我正在运行SQL Server 2008 SP1,因此我不确定此错误是否从2005年起一直存在。我正在安装2008 SP1 CU5,看看它是否解决了这个问题,并将向您报告。谢谢…在将数据复制到的SQL server和运行更新的dev box上安装了2008 SP1 CU5之后,我收到了相同的错误消息。我看过一些文章说我看到的信息在很多问题上都有体现。这让我觉得它可能与2005年的问题无关。我想知道是否有办法获得有关此特定情况的更多信息?您的备忘录指针已损坏。紧凑型足够清洁,显然导入可以工作。