I have this ssis package and in it, an OnError event handler. When the package fails, I enter data into an error log table. How (if possible) does one get the connection of the step that failed? Any help will be much appreciated. Thanking you in advance.

有帮助吗?

解决方案

In the Event Handler you could use the value of the variable - System::SourceName. If your components are named sensibly then this value would let you know the component that failed and hence the connection.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top