SSIS job timeout and component not executed

A B 21 Reputation points
2022-12-16T06:24:31.583+00:00

Hello,
We have a job based on ssis package which run every xx minutes. Randomly, the job timeout and after checking logs, we see that there is nothing after the truncation component (simple SQL task)
271275-image.png

the package end like this:

271235-image.png

we don't understand why the job can't execute our last component (simple sql task). There is no particular lock, and this happens randomly.

Thanks for help
regards

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,697 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,481 Reputation points
    2022-12-16T06:54:57.527+00:00

    Hi @A B ,

    As said in the documentation truncate-table-transact-sql, TRUNCATE TABLE permissions default to the table owner, members of the sysadmin fixed server role, and the db_owner and db_ddladmin fixed database roles, and are not transferable.

    Please double check if it is a permission issue.

    You may also delete the package in SSIS catalog and then re-deploy it for a try.

    Regards,

    Zoe Hui


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

    0 comments No comments

  2. A B 21 Reputation points
    2022-12-16T07:44:12.567+00:00

    Dear @ZoeHui-MSFT

    thank you for your quick reply.
    Ok, I will try to delette and reload package

    but the problem not seems coming from the truncation (which seems ok), but after, as the last component is never executed
    regards

    0 comments No comments

  3. Yitzhak Khabinsky 26,571 Reputation points
    2022-12-16T14:23:09.693+00:00

    Hi @A B ,

    I would suggest switching to Verbose logging instead of Basic.
    It may reveal some additional information.

    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.