SSIS package hangs while looping through many files

  • Hi All,

    I have a package which loops multiple files through foreach container and on some conditions three script tasks are processed. Individual file executes fine. If I put breakpoint then it works fine for all the files.

    But If I let it run without manual interruptions then any of the script task hangs randomly. If I try to run that file it executes without hanging.

    Can you please help me with this issue?

    any help is appreciated!!

    Thanks

  • I'm interested in the problem but don't know the solution. Bumping this post for you. Hopefully, someone else may have some information on the problem. Be prepared to provide more detail about your package. 😉

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Hi,

    My colleague finally helped me with this. Problem was with web service connection wasn't closed. He asked me to use this

    Soapclient.close().

    This seemed to work.

    Thank you!

  • hegdesuchi (10/6/2016)


    Hi,

    My colleague finally helped me with this. Problem was with web service connection wasn't closed. He asked me to use this

    Soapclient.close().

    This seemed to work.

    Thank you!

    Great. Glad you got it working and thank you for sharing the solution to your problem.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply