我尝试将SSIS对象(实际上是一个DataSet)传递给子包。我收到一个错误,告诉我我不允许这样做。为什么我不能这样做?这绝不会发生在编程语言中。有没有解决方法呢?
感谢。
编辑 -
Error - Property "Value" with type "Object" of variable "User::MY_DATA_SET"
can not be exported to the configuration file.
答案 0 :(得分:0)
SSIS不允许您这样做。但是,还有一种方法可以做到!请尝试以下链接中的说明 -
http://agilebi.com/jwelch/2009/10/03/passing-an-object-from-a-parent-package-to-a-child/
请记住,不应将子变量包含在脚本任务的读取或读取/写入部分中。这将导致错误 -
A deadlock was detected while trying to lock variables “User::ParentVariable”
for read access and variables “User::ChildVariable” for read/write access.
A lock cannot be acquired after 16 attempts. The locks timed out.
顺便说一句,请阅读帖子下方的评论。你可以避免海报上的错误。