SSIS Permission errors running package

Andre 26 Reputation points
2020-12-04T22:04:19.883+00:00

SQL 2017

We have SSIS packages that create flat files on a network share. They run every day flawlessly with no issues. Occasionally we need to test a change that we've made in the stored proc for a file, so we need to run the package manually. In SQL 2014 we could run the package manually by calling a "ssis exec wrapper sproc". In SQL 2017 we can't run the package manually unless we're logged into SSMS using the same security context that SQL/SQL Agent/SSIS are running under. For example, if MyDomain\Andre (me) tries to run the package and I'm listed as the Caller in the SSIS report, I get an error that the file can't be created in the network share. I've confirmed with our IT Admin that I do have full control of the share, and additionally I am sa on the server. However, if I login to SSMS as the service account that runs SQL/Agent/SSIS I can run the same exec for the wrapper package and it works perfectly. Why? I would have thought since I'm sa and have full permissions to the network share it should work fine. What am I missing that is different in SQL 2017?

Thanks in advance.

SQL Server Integration Services
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Yitzhak Khabinsky 27,091 Reputation points
    2020-12-06T00:04:54.59+00:00

    Please ask your admins to add your AD account MyDomain\Andre as a member of the ssis_admin role.

    Please see below.

    UPDATE
    There are two options to make it working:

    1. You need to connect to the remote server with SSIS via Remote Desktop (RDP), and open SSMS locally on that machine, and everything will work for you.
    2. Modify SQL Server instance account to allow Kerberos delegation.
      All details are here: Getting Cross Domain Kerberos and Delegation working with SSIS Package

    45434-ssis-admin-role-2020-12-05-190153.png


  2. Monalv-MSFT 5,926 Reputation points
    2020-12-07T09:07:36.54+00:00

    Hi @Andre ,

    1.For example, if MyDomain\Andre (me) tries to run the package and I'm listed as the Caller in the SSIS report, I get an error that the file can't be created in the network share.
    Please check if the user MyDomain\Andre has permission to create file in the network share.

    2.May I know where do you store your ssis packages?
    If the ssis packages were strored in the file system, we can also use the following two methods to execute the ssis package manually.

    Method1: Execute Package Utility (dtexecui)
    45585-openexecutepackageusingepu.png
    45568-epu.png

    Method2: dtexec Utility
    45569-dtexec.png

    Best Regards,
    Mona


    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.
    Hot issues in November--What can I do if my transaction log is full?
    Hot issues in November--How to convert Profiler trace into a SQL Server table?

    0 comments No comments

  3. Andre 26 Reputation points
    2020-12-07T18:45:44.617+00:00

    Mona,

    MyDomain\Andre has full permissions to the share, as mentioned in my original post.

    Our packages are stored in SSISDB, using the project deployment method. They are not stored in the file system.

    Do I need any other permissions in SSISDB? And I'm just curious, if I'm already 'sa', why would I even need to be ssis_admin?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.