INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

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

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

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

(OP)
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

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

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close