我有一个SSIS包(SQL 2017),该包将数据从Access数据库导入到SQL数据库。
出现以下错误:
[Source - MaintenanceDetails [140]] Error: Failed to retrieve long data for column "JobNotes".
[Source - MaintenanceDetails [140]] Error: There was an error with Source - MaintenanceDetails.Outputs[OLE DB Source Output] on Source - MaintenanceDetails. The column status returned was: "DBSTATUS_UNAVAILABLE".
[Source - MaintenanceDetails [140]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "Source - MaintenanceDetails.Outputs[OLE DB Source Output]" failed because error code 0xC0209071 occurred, and the error row disposition on "Source - MaintenanceDetails" 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.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - MaintenanceDetails 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.
我已经尝试根据以下Stackoverflow问题(尚未解决问题)解决以下问题:
1)设置“ BLOBTempStoragePath”和“ BufferTempStoragePath”的路径
2)将AutoAdjustBufferSize设置为False
3)创建错误输出以将失败的错误放入另一个标签
4)将“ Computer \ HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Office \ ClickToRun \ REGISTRY \ MACHINE \ Software \ Wow6432Node \ Microsoft \ Office \ 16.0 \ Access Connectivity Engine \ Engines \ Excel”设置为“ TypeGuessRows”
>5)我尝试在Management Studio中使用“导入/导出向导”,但收到相同的错误消息。
连接正在使用:
本机OLE DB \ Microsoft Office 12.0 Access数据库引擎OLE DB提供程序
本机OLE DB \ SQL Server本机客户端11.0
有人对我可以解决的问题有其他建议吗?
答案 0 :(得分:0)
我最终要做的就是ppijnenburg所描述的。将Access表导出到逗号分隔的TEXT文件后,SSIS完全没有问题。
我想这个故事的寓意是从Access导入SQL Server的。