Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Running SSIS package with other domain account


Running SSIS package with other domain account

Author
Message
mahesh.yerragonda
mahesh.yerragonda
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
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
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16455 Visits: 13207
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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Phil Parkin
Phil Parkin
SSCrazy Eights
SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)SSCrazy Eights (8.4K reputation)

Group: General Forum Members
Points: 8373 Visits: 19499
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.

If the answer to your question can be found with a brief Google search, please perform the search yourself, rather than expecting one of the SSC members to do it for you.

Please surround any code or links you post with the appropriate IFCode formatting tags. It helps readability a lot.
mahesh.yerragonda
mahesh.yerragonda
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
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 "DTSTongueassword" 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."
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16455 Visits: 13207
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 "DTSTongueassword" 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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
mahesh.yerragonda
mahesh.yerragonda
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
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/
mahesh.yerragonda
mahesh.yerragonda
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
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
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16455 Visits: 13207
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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16455 Visits: 13207
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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search