Solved

SSIS: Scope of OnError Event Handler

Posted on 2010-09-04
4
776 Views
Last Modified: 2013-11-10
My SSIS package uses a connection string populated by a user defined variable.

I want to put an event handler on the connection manager to execute a task when there is an error with the connection string.

I have tried placing my task in the OnError Event Handler.

Here is the problem...........I have testing it with a bad connection string but the error seems to be generated before the OnError has a chance to capture the problem.

Can anybody help?
0
Comment
Question by:Mr_Shaw
  • 2
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
Reza Rad earned 500 total points
ID: 33605596
in Event handler tab,
set Executable with package (select  package name )
this means that on error will raise on every task in the package, and now you can find the error location exactly
0
 

Author Comment

by:Mr_Shaw
ID: 33606068
I'll give it a go when I get into the office on monday.. thanks for the tip.
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 33614815
I think you got your answer in TechNET. am I right?
0
 

Author Closing Comment

by:Mr_Shaw
ID: 33615933
Thanks..
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

820 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