Running SSIS package with other domain account

  • Hi ,

    I have a ssis package(2008r2) in production server(file system) and multiple users have login's to production box.Currently the package is created using admin account 'john'.

    Now I need a solution to give access to one of user to run the package.(note ms-sql is not installed with users logins) .I tried by creating proxy login to that user, but it failed to run the package.

    Can anyone please give the best solution ,if possible a batch file for user to run the package instead of opening the package.?

    Thanks,

    Mahesh

  • How did you try to run the package in the first place?

    What is the error that you got?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • You could potentially create a SQL Agent job to run the package and then allow the user to start that job.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

  • Hi,

    I created proxy login for user and created job to run the package.

    below is the error im gettng.

    "Description: Failed to decrypt protected XML node "DTS:Password" with error 0x80070002 "The system cannot find the file specified.

    ". You may not be authorized to access this information. This error occurs when there is a cryptographic error."

  • mahesh.yerragonda (3/24/2014)


    Hi,

    I created proxy login for user and created job to run the package.

    below is the error im gettng.

    "Description: Failed to decrypt protected XML node "DTS:Password" with error 0x80070002 "The system cannot find the file specified.

    ". You may not be authorized to access this information. This error occurs when there is a cryptographic error."

    What is the protection level of the package?

    I guess this is EncryptSensiviteWithUserKey. Change this to either DontSaveSensitive or to EncryptSensitiveWithPassword.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • For ssis configurations,I used sql server table where the password gets picked from table.

    Right now it is encryptsensitivewithuserkey,I tries using donsavecasesensitive but when open the package with admin account then I'm getting errors.

    I need to run this package both with user and admin account.Please help/

  • Finally got it.I changed connection manager from sql authentication to windows authentication and gave the user admin roles.Did use any configurations now.Thanks all for the help.

    Thanks,

    Mahesh

  • mahesh.yerragonda (3/24/2014)


    For ssis configurations,I used sql server table where the password gets picked from table.

    Right now it is encryptsensitivewithuserkey,I tries using donsavecasesensitive but when open the package with admin account then I'm getting errors.

    I need to run this package both with user and admin account.Please help/

    If the protection level is DontSaveSensitive and passwords come from a SQL Server configuration table, everything should be fine.

    What are the errors when you open the package?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • mahesh.yerragonda (3/24/2014)


    Finally got it.I changed connection manager from sql authentication to windows authentication and gave the user admin roles.Did use any configurations now.Thanks all for the help.

    Thanks,

    Mahesh

    Good that it works, but giving users admin roles to resolve an issue is usually not a good idea.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 9 posts - 1 through 8 (of 8 total)

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