Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to output current runtime variable values at time of error -- is it possible?

Status
Not open for further replies.

TomCarnahan

Programmer
Dec 7, 2002
123
US
I am working on a project for work using SSIS 2008. The package has a number of variables, some of which are passed in by reading from the SSIS config table, others are generated internally by my execution path. I am having problems troubleshooting this package and symptoms suggest that it is because of the variables that are either being passed to the package or be manipulated by the package.

I have an on error handler that sends an error email. Right now, it is fairly "dumb" ... just tells us there was an error and dumps what SSIS said it objected to. I need more information in that email.

Question: is there a way that I can loop through all user variables and capture the names and values at the time of the error to put in my email?

I looked at another forum where they said it was not possible, but I find it hard to believe since the variables and values are all in memory at the time of execution.

Many thanks for any help you can provide!

Tom


--- Tom
 
I do not htink it is possible, but you can add logging to your package and make a selection which events you would like to log and where log file location it will give you all nessesary information where you package fail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top