July 14, 2009 at 7:54 am
Actually I am using Error handler to catch the error, collect all possible error description and send email with this information to operation support team
August 26, 2009 at 2:12 pm
Hi,
I am new to SSIS and followed the steps in this article as it is to create the error handler. If I execute the error handler SQL task manually it works fine and inserts into the DB but when the SSIS job fails it doesn't invoke the Error Handler at all. I have checked the DisableEventHandler property and it is set to False.
I have also tried to use some help from the ticket
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e7fbe7e8-331f-49d5-88d3-715174688879 but that didn't help either.
Can someone please guide me in the right direction. I am trying to resolve it for 2 days now.
Thanks!
August 26, 2009 at 8:03 pm
Dear Developer,
It seems you are trying to run individual tasks in control flow instead of whole package. In that case, ssis will not execute the Event handler section. Try running the whole package.
I have gone through your ticket http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e7fbe7e8-331f-49d5-88d3-715174688879
After having a look on it, I can suggest you to mail me your package sample to me. I want to check it by myself about the error.
My mail id:mail.arun2005@gmail.com
Thanks
Arun
September 3, 2012 at 1:25 am
Hi Arun,
Though its been few years i guess you might see this post.
I tried using your solution for catching the error log in SQL 2008 R2. But the thing is, the package after its run displaying the Execute SQL task's color to be in RED. also with the following error message,
------------------------------------------------------------------------------------------------------
[Execute SQL Task] Error: Executing the query "INSERT INTO [<<Database Name>>].[dbo].[ErrorLog]
([Packa..."
failed with the following error: "Incorrect syntax near 'PK__csod_dat__72399DD10CBAE877'.". Possible
failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
-------------------------------------------------------------------------------------------------------
can you please help me here ?
November 8, 2023 at 4:35 pm
Where is the variable @[User::PackageLogID] created and assigned to the expression? That step is completely missing.
November 8, 2023 at 4:36 pm
Where is the variable @[User::PackageLogID] created and assigned to the expression? That step is completely missing.
Viewing 6 posts - 16 through 20 (of 20 total)
You must be logged in to reply to this topic. Login to reply