SSIS OnError event handler not firing on failed database connection
<p>I created an SSIS package with an OnError event handler that inserts some log record on a database.</p>

<p>When I run the package via a batch file, I see in my batch file log that the package failed to execute because the connection to a database <strong>(different from the DB where I insert the error logs)</strong> fails. However, there is no inserted log record (meaning the OnError event handler did not fire?)</p>

<p>Are OnError event handlers not firing when connection to a DB fails?</p>