> My guess is that when you say "pointed it to a different configuration file"
> you are actually updating the environment variable that handles the indirect
> configuration. Is this correct?
No, I was talking about when I edit the SSIS Execute Package step, and
go to the Configurations tab.
> The problem with this approach is that Windows processes only read in
> environment variables when the process starts up. This means that until you
> restart SQL Server Agent, your packages will keep using the old configuration
> file. It also means that any approach that is based on updating environment
> variables is pretty much doomed to failure.
Ok..
> The approach that I would take here would be to remove the configurations
> from the package itself, update the Agent jobs to use the CmdExec (Operating
> System Command) job step type and call DTEXEC.EXE with the /CONF switch (http://msdn.microsoft.com/en-us/library/ms162810.aspx) to explicitly specify
> the correct XML config file for each execution.
Ok.. I guess I really don't see the point of the configuration in a
SSIS package then. It seems almost useless if you're still tied to
one file at a time. Any place that I can request a more sane setup?
Like being able to do this via the SSIS step?
Thanks
Andy
Andy - 28 May 2008 16:29 GMT
I removed the configuration file setting from the package and re-
deployed. I then set the SSIS step again to use SSIS. It now
complains it can't find one of the views used by my package. I tried
using the cmdExec again, and it the initial command line it gives
seemed to mirror the options set when the step was still SSIS. I get
the same error using the cmdexec as I did the SSIS step.
I'd like to know more about the error, but for some reason several
useful messages are truncated in the log. Great. Where I can find
the log before Sql Agent chops it to bits?
This really shouldn't be as difficult as it has been..