SSIS Unexpected Termination While running a packages through SQL Job

Raj Kumar A 6 Reputation points
2024-03-21T16:09:58.2766667+00:00

Hi Everyone,

support required for the below error

My SSIS package execution failed with unexpected termination while running through SQL jobs.

Package Purpose:

To Load multiple .xlsx files to SQL tables using Foreach Loop Container.

User's image

Sometime job gets succeeded and all files being loaded to table. most of the execution failed with unexpected termination.

All the time package stuck while Data Flow task: Prepare for execute phase is beginning.

However, same package works perfectly when I run from visual studio.

User's image

User's image

Thanks,

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

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2024-03-22T08:29:56.48+00:00

    Hi @Raj Kumar A,

    The error message is a bit general for us to narrow down the issue.

    How do you design the data flow? Please make sure you have set the validation delay on the task level?

    Could you please try to re-deploy the package and run it manually in agent job?

    And also make sure you have full access to the source and destination.

    Regards,

    Zoe Hui


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


  2. Redincs 0 Reputation points
    2025-05-06T22:16:36.8666667+00:00

    This could be related to your antivirus as explained here: https://youtu.be/Jg7stUhfr-s?si=1lMa_XZ6pfn7P_5L

    0 comments No comments

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.