![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I created a config type 'Parent package variable' (ParentPackKey) in a parent package and successfully passed it to a child package. I successfully performed an INSERT into a table. The correct ParentPackKey appeared in the table. However this error appears: "Validation error. Update <<PackageName>> : Failed to lock variable "User::ParentPackKey" 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.". " The "ParentPackKey" was created in the Variables window in both the Master and Child packages. What's going on?? -- Thanks in advance GH |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hello, I'd like to know how you insert into table from the local variable. I get the local variable from a parent package variable by using the parent variable: Right click the child package->Package configuration and map the parent variable to a local variable.. Then I used a Execute sql task package to insert into the table by using a SP while mapping the local variable to a SP input parmater. You may want to refer to the following articl for more details: http://www.sqlis.com/default.aspx?58 Best Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== === This posting is provided "AS IS" with no warranties, and confers no rights. |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |