How to fix sql server agent job failure while extracting data from a excel file and storing in a sql db using a ssis .dtsx package?

Deepak Kumar 5 Reputation points
2023-11-29T18:31:31.6633333+00:00

I am getting following error when running ssis .dtsx package from sql server agent job. This package is extracting data from a excel file and storing in a sql DB. please find following error:

The step did not generate any output. The return value was unknown. The process exit code was -529697949. The step failed.

This job is run using a service account on sql DB.

When this package is run manually it is working fine. Please help me to solve this issue.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,568 questions
{count} vote

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 36,116 Reputation points
    2023-11-30T01:31:48.68+00:00

    Hi @Deepak Kumar,

    Usually, it will be a permission issue.

    Make sure the account used to run the job has full permission to read the excel file.

    You may also consider using proxy account to run the job.

    Running a SSIS Package from SQL Server Agent Using a Proxy Account

    If this does not work, you may follow the article to do generally troubleshoot.

    SSIS package does not run when called from a SQL Server Agent job step

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.