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
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,454 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,372 questions
{count} votes