How Can I set container variable (scope) of SSIS package

Jerry_2424 0 Reputation points
2024-02-22T13:38:46.82+00:00

User's image

Scope of this variable is Event Handler.

I am doing I want it will run by powershell but its not working dtexec /FILE $packagePath "/SET \Package.EventHandlers[OnPreExecute].Variables[User::Variable111111111].Properties[Value];`"1`" " Error :-
Code: 0x80012017 Source: Demo Description: The package path referenced an object that cannot be found: "\Package.EventHandlers[OnPreExecute].Variables[User::Variable111111111].Properties[Value]". This occu rs when an attempt is made to resolve a package path to an object that cannot be found. End Warning DTExec: Could not set \Package.EventHandlers[OnPreExecute].Variables[User::Variable111111111].Properties[Value] value to 12222222.

SQL Server Integration Services
Windows for business | Windows Server | User experience | PowerShell
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.