Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Running SSIS package with other domain account Expand / Collapse
Author
Message
Posted Monday, March 24, 2014 12:08 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 10, 2014 4:45 AM
Points: 4, Visits: 9
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
Post #1553865
Posted Monday, March 24, 2014 1:22 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Thursday, December 18, 2014 12:52 PM
Points: 13,636, Visits: 11,509
How did you try to run the package in the first place?
What is the error that you got?




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1553885
Posted Monday, March 24, 2014 1:36 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 2:15 AM
Points: 5,317, Visits: 12,354
You could potentially create a SQL Agent job to run the package and then allow the user to start that job.


Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.

It is better to keep your mouth shut and appear stupid than to open it and remove all doubt. (Mark Twain)
Post #1553890
Posted Monday, March 24, 2014 2:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 10, 2014 4:45 AM
Points: 4, Visits: 9
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."
Post #1553908
Posted Monday, March 24, 2014 2:56 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Thursday, December 18, 2014 12:52 PM
Points: 13,636, Visits: 11,509
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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1553912
Posted Monday, March 24, 2014 3:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 10, 2014 4:45 AM
Points: 4, Visits: 9
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/
Post #1553914
Posted Monday, March 24, 2014 5:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 10, 2014 4:45 AM
Points: 4, Visits: 9
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
Post #1553967
Posted Monday, March 24, 2014 5:32 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Thursday, December 18, 2014 12:52 PM
Points: 13,636, Visits: 11,509
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?




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1553971
Posted Monday, March 24, 2014 5:32 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Thursday, December 18, 2014 12:52 PM
Points: 13,636, Visits: 11,509
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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1553973
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse