【发布时间】:2014-10-14 08:33:34
【问题描述】:
尝试运行任务以复制文件时,我收到以下消息:
TITLE: Package Validation Error
------------------------------
Package Validation Error
------------------------------
ADDITIONAL INFORMATION:
Error at File System Task: Failed to lock variable "C:\Users\agordon\amtu2\DocumentTransport\production\reports\ORDER18940610353.txt" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".
Error at File System Task [File System Task]: An error occurred with the following error message: "Failed to lock variable "C:\Users\agordon\amtu2\DocumentTransport\production\reports\ORDER18940610353.txt" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".
".
Error at File System Task: There were errors during task validation.
(Microsoft.DataTransformationServices.VsIntegration)
------------------------------
BUTTONS:
OK
------------------------------
我的架构如下所示:
以下是失败组件的属性:
这是失败组件的表达式部分:
最后,这是我的参数:
我做错了什么?
我应该完全消除这个文件系统任务并用C#脚本任务替换它来复制文件吗?
我的流程有什么明显的问题吗?
我为图片的大小道歉,我认为 stackoverflow 会调整它们的大小。原件在这里:
http://screencast.com/t/PvjBHWWHQ8
http://screencast.com/t/JWfs2n2uD8mu
http://screencast.com/t/T68ttqHo
http://screencast.com/t/89KCF8B0qBd
【问题讨论】:
标签: sql sql-server-2008 tsql ssis