Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Which variables return warning number and description in OnWarning Event Handler?

$
0
0

Hi All,

When there's an execution error in our SSIS 2012 packages, we use the OnError event handler to run a stored procedure that logs the error using the variables System::ErrorCode and System::ErrorDescription to a user-defined table.  Now we want to also log SSIS warnings to that same table.  Which variables do I use in the OnWarning event handler?  I don't see any system variables with "warning" in the name.

We don't want to use SSIS built-in logging because those records wouldn't get logged out our user-defined table.

Thanks,
Eric B.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>