Solution: Stopping SSIS package causing "Unable to terminate process (reason: Access is denied)"
I had big problems finding the solution to the message
Some suggested changing the job owner to sa or troubleshooting access.
These suggestions did not fix it in my environment.
Fix
Change Step type from "SQL Server Integration Services Package" to "Operating System Command", and execute dtexec manually like so:
[Job Name]: Unable to terminate process [pid] launched by step [x] of job [guid] (reason: Access is denied).that fired when trying to stop Sql server agent jobs running step type "SQL Server Integration Services Package"
Some suggested changing the job owner to sa or troubleshooting access.
These suggestions did not fix it in my environment.
Fix
Change Step type from "SQL Server Integration Services Package" to "Operating System Command", and execute dtexec manually like so:
dtexec /FILE "\"\\your file path.dtsx\"" /CHECKPOINTING OFF /REPORTING EThe options are not relevant for my scenario, it was the type: Operating System Command that fixed it.
Comments