SSIS文件系统任务移动文件无法找到部分路径错误 [英] SSIS File System Task Move File Could not find part of the path error
问题描述
大家好,
尝试将文件从一个文件夹移动到另一个文件夹时,我的生产中出现错误。但在Dev环境下工作正常。
I am getting error in production when try to move files from one folder to another folder. But on Dev environment working fine.
出现以下错误消息时出错:"无法找到路径的一部分'C:\ Archieive \ ABC.txt'
An error occurred with the following error message: "Could not find a part of the path 'C:\Archive\ABC.txt'
我的包裹配置详情。
1)For Each loop Container
1) For Each loop Container
支柱:
枚举器:对于每个文件枚举器
Enumerator: For Each File Enumerator
文件夹:C:\
文件:* .txt
检索文件名 - >完全合格的
Retrieve File name --> Fully qualified
在选项卡变量映射中:User :: name - 0
In Tab Variable mapping: User::name --0
2)文件系统任务
道具:
目的地连接:c:\archive \
Destination Connection: c:\archive\
    
覆盖目的地:True
Overwrite destination: True
 
操作:移动文件
源路径变量:真
源变量:用户::姓名
请分享您的建议。
问候,
Vaishu
推荐答案
嗨Vaishu,
Hi Vaishu,
确保在执行移动操作时存在目录或文件。出现此错误主要是因为它可能无法在运行时找到目录或文件。
Make sure that the Directory or File exists while move operation is being perfomed. This Error Mainly occurs because either it may not find the Directory or file on runtime.
问候
Naveen
这篇关于SSIS文件系统任务移动文件无法找到部分路径错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!