Unexpected Termination but successful

Sam Garth 26 Reputation points Microsoft Employee


I have an SSIS Package that writes to an Excel file.

It works successfully when...

  • Running through Visual Studio under my login and my colleagues
  • Running manually from the SSIS server under my login only
  • Running through a job from another SQL instance under my login only

When my colleague runs it manually or under the job it fails with Unexpected Termination BUT it actually writes to the file.

After testing, the table it copies has over 30K rows. I have changed this to SELECT TOP 100 and it works if the excel file is empty, but if the Excel File already a fairly large size that will fail. (even though it has written to the file).

So it seems to be writing to Excel that is the issue.

Does anyone know why this would be? And why would it work for my login but not two others?



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

3 answers

Sort by: Most helpful
  1. Monalv-MSFT 5,896 Reputation points

    Hi @Anonymous ,

    1.Could you please share the detailed error messages?

    2.We can set protection level in SSIS package.
    To protect the data in an Integration Services package, you can set a protection level that helps protect just sensitive data or all the data in the package. Furthermore, you can encrypt this data with a password or a user key, or rely on the database to encrypt the data.

    Please refer to Access Control for Sensitive Data in Packages.

    Best regards,

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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Sam Garth 26 Reputation points Microsoft Employee

    Just an FYI the issue is fixed. It was because I was a local admin on the SSIS server. I am not sure if I can get a lower level or rights to get access to global shared memory but will look into that.

  3. Divyesh Patel 16 Reputation points

    Was this ever resolved if so how .I have the same issue

    0 comments No comments