Hi,
I have a package which has 5 connection managers. One of the Connection Manager has incorrect server name, which results in Package Validation error. Which event handler should be used to run on such errors for OnError Event handler doesnt work @. all.
Thanks
Prasad
I may be wrong; but I think if the validation step fails; the package logging nor event handler would work as they need a valid package. What you can do is to capture the output of the package execution command line. Eg if you are using sql server agent; and run the package as CmdExec step; you will see the validation error in the job log.|||i dont see any errors in the job log which point out to invalid packages.
Is there any metadata table like sysdtspackages90 which can be queried to find out if the generated packages are valid or not?
|||You need to run the package through a CmdExec step, not from a SSIS step, as Rafael mentioned. This is the same as running it from the command line.|||using dtexec /validate we can validate the packages|||
2lazydba wrote:
using dtexec /validate we can validate the packages
Well now THERE is something I never knew. Thanks 2lazydba.
-Jamie
No comments:
Post a Comment