I have a problem that I haven't resolved yet, and is the next.
I have a Master package.dstx which has Package1.dtsx and Package2.dtsx inside of it.
Master package invoke Package1 and this one has to send a value to Package 2.
![]()
At the beginning I used to run it as a whole project.ispac under SSISDB DB Server using environment variables and It hadn't problems.
But now, as a new requirement I have to execute this project outside of the DB Server, I mean, I have installed SSIS in another machine to use it as SSIS Server.
I can't execute my project or my all packages outside of the DB Server.
I don't want to invoke the packages from SSIS Server to SSISDB Server.
I want to execute them in the SSIS Server. why?
Because the packages access to FTP Site, use Microsoft Excel license, and send emails and we don´t want to expose our DB Server to "Internet".
I tried to use DTExe.exe utility invoking the master package, but then it throws an error which it can´t find neither package1 nor package2 because both are configured as ProjectType: ProjectReference,
So, I changed the configurations in both package to ProjectType:External Reference, and the second problem was that the parameters from Package1 to Package2 was lost.
Package2 doesn't receive Parameters values from Package1.
I had to create a variable in MASTER package and use it in Package1 and Package2 from Script task using (Dts.VariableDispenser.LockOneForRead)
and it was ok, but now, both package are taking the desing package variables that I put from SSDT, I don't know how configure this parameters that package1 and package2 should receive in another environment.
![]()
I tried to use package configuration file, but this works only under package deployment Model, so, since they have paremeters itsn't possible.
I need to put the package paremeters in this command code:
"C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /DTS "\"\File System\Cruces GOLDMAN\MASTER\"" /SERVER SERVERNAME
/CONNECTION "\"Cruces GOLDMAN_Finamex.dtsx\"";"\"C:\Confirmaciones\CrucesGOLDMAN\Cruces GOLDMAN_Finamex.dtsx\"" /CONNECTION "\"Send
Email.dtsx\"";"\"C:\Confirmaciones\CrucesGOLDMAN\Send Email.dtsx\"" /CHECKPOINTING OFF /REPORTING V
using /SET
\Package.Variables[$Package.. doesn't workI dont know the way to resolve this, can you help me pls?
best regars