Invoking a C# exe from a package crashes the exe

  • I am invoking a C# exe from a package and then I call this package from another package called lets say package2. When package2 is scheduled and executed. The package2 runs successfully till it tries to invoke the external process from package. The error specifically is as follows:

    xyz.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

    Any inputs on resolving this will be much appreciated.

    Thanks,

    Monisha

  • With the information given, I would say the xyz.exe has a problem that needs to be repaired. Just because it compiles doesn't mean it's right... 😉

    --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)

  • Real stab in the dark here, but is xyz.exe trying to display a dialog or form of some sort?

  • The exe just runs a report on cognos reportnet server. It does not bring up any form or dialog box.

    I remember reading that the number of database connections in a package are configurable in a config file included in the package and that causes the problem. However I am unable to find that article. Will try to look up further and locate it. In the meantime any feedback will be much appreciated.

    The exe runs most of the time it crashes only after running say perfectly as a scheduled job within a package for about 20 days oro so.

    Any feedback will be much appreciated.

    Thanks,

    Monisha

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

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