A Microsoft platform for building enterprise-level data integration and data transformations solutions.
The exit code -1073741819 by itself does not identify the root cause. To determine the cause, more detailed logging from the SSIS package and SQL Server Agent is required.
Use these approaches:
- Enable SSIS logging inside the package
Configure SSIS logging and log providers in the package so that execution details and failures are captured. By default, packages do not log anything. Once logging is enabled, the logs will show the actual error (for example, permissions, decryption, connection failure) instead of only the generic exit code. - Run the package via DTExec with verbose console logging
Instead of the SSIS job step type, use a CmdExec step that callsdtexec.exewith verbose reporting and console logging, and capture the output:
In the job step, use the Advanced options to:dtexec.exe /FILE "C:\Path\YourPackage.dtsx" /REPORTING V /CONSOLELOG NCOSGXMT- Redirect output to a file, and/or
- Enable Include step output in history
- Use SQL Server Agent Log File Viewer and SSISDB reports
For packages stored in MSDB, SSIS Package Store, or local folders:- In Object Explorer, right‑click the job → View History.
- In Log file summary, locate the failed execution, expand the job node, and select the step to see detailed messages.
- In the job history message, note the Execution ID.
- In Object Explorer, expand Integration Services Catalogs → SSISDB.
- Right‑click SSISDB → Reports → Standard Reports → All Executions, then locate that execution for detailed runtime information.
- Check for known causes when running under SQL Server Agent
Once detailed errors are available, compare them with common Agent‑specific issues:- ProtectionLevel and decryption failures when the Agent account differs from the package author.
- Missing permissions for file shares, registry keys, or external resources.
- Integrated security connections failing because the Agent account lacks required SQL or OS permissions.
- Excel / ACE and multi‑threading issues (if applicable)
If the package uses Excel sources/destinations or ACE providers, exit code-1073741819can be associated with multi‑threaded Excel components. A known workaround is to:- Execute Excel components sequentially instead of in parallel, or
- Split them into separate packages and trigger via Execute Package Task with
ExecuteOutOfProcessset toTrue.
By combining SSIS logging, DTExec verbose output, and Agent/SSISDB reports, the intermittent failures can be correlated to a specific error (permissions, configuration, provider, or multi‑threading) rather than relying on the generic exit code.
References: