I am trying to catch the erros during package execution and i have followed the method as in the given link,
http://www.sqlservercentral.com/articles/SQL+Server/66387/
Here i am not getting any problem actually. i.e. when package fails the errors are properly written to the table created for it separately.
But the execute SQL task control appears to be in red color after package has run. And the error is like below,
[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.
I am really tired of searching for its solution.
If anyone knows it please help me !
--------------------------- Radhai Krish | Golden Age is no more far | --------------------------