I need to capture an SSIS error message and insert it into an email.

Posted on 2010-09-08
Last Modified: 2013-11-10
I need to capture an SSIS error message and insert it into an email.

I don't want to do this inside an event this possible?
Question by:Mr_Shaw
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 33625512
I know this sounds a little daft, but i have used it before when i havent had a way to screen capture during a boot etc... when a manufacturer wanted to see the exact screen the boot error was on
Can you take a photo on your phone ?

LVL 30

Expert Comment

by:Reza Rad
ID: 33625542
why you don't want to use Event Handlers?!!
this is best way to get error message, just put send mail task inside OnError event handler.

Author Comment

ID: 33625591
Is just the way I way I have my package setup.

Here is a screen shot.

Is it better to have failure events in an event handler?
Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!


Author Comment

ID: 33625601
LVL 30

Accepted Solution

Reza Rad earned 400 total points
ID: 33625645
they way you implemented IS NOT EVENT HANDLER way.
this is on failure way.
if you want to use failure precedence constraint, as you used in your screenshot, you should set MaximumErrorCount property appropriately, if this is 1, then first error will cause package failure. if you set it to 2, then everytime two error occur, package will failed.

but I prefer to use Event handler tabs,and set event handler on error on every task you need.

Assisted Solution

radcaesar earned 100 total points
ID: 33626092

Author Closing Comment

ID: 33627006

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question