I have a package that uses configurations and when I run from SSIS Designer it picks up the config files without any problem.
When I run it from dtexec...it doesn't.
Do I have to specify the config files that the package should use even though I have already defined them in the package?
If the answer is "Yes", how do I tell it that the location of the configuration file is stored in an environment variable cos dtexecui doesn't provide an interface to let you do that?
-JamieJamie,
You should not have to specify it as the package should be set up to use the config file. I know this is a stupid question but did you verify that the environment variable was available in the command prompt from which you ran DTExec from? If you did then please file a bug.
As a workaround you can specify a config file from the command line using the config option with the config filename (you can not use an environment variable from the command line).
Thanks,
Matt|||I think I've bottomed this one out.
I came in this morning and the package in question is now working. Strange!!
However, I think I know why. I knocked up a quick repro and saw that the env variable was not available to the command line. As soon as I logged out and back in again it was there.
So it sounds like a Windows "funny". I'm on Win2k3 by the way.
Anyway, it works. Thanks for the tips Matt.
-Jamie
No comments:
Post a Comment