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


FTP security issue


FTP security issue

Author
Message
dopydb
dopydb
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 413
hi

i have an ssis job, which runs various calculations, creates a .txt file and then uploads to an FTP site.

when i run it in bids it works fine, but when i schedule to run using sql agent, it fails with the below error..
"An error occurred in the requested FTP operation. Detailed error description: The password was not allowed"

how should i be saving my FTP password?


thanks

mal
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: 16564 Visits: 13210
dopydb (4/17/2014)
hi

i have an ssis job, which runs various calculations, creates a .txt file and then uploads to an FTP site.

when i run it in bids it works fine, but when i schedule to run using sql agent, it fails with the below error..
"An error occurred in the requested FTP operation. Detailed error description: The password was not allowed"

how should i be saving my FTP password?


Try using configurations:
Understanding Integration Services Package Configurations



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
dopydb
dopydb
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 413
do i need to change protection level - should it be "encrypt sensitive with password?"

i can only run the app out of hours hence why i cant test now
dopydb
dopydb
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 413
not sure what configurations will do for me Koen?
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: 16564 Visits: 13210
dopydb (4/17/2014)
do i need to change protection level - should it be "encrypt sensitive with password?"

i can only run the app out of hours hence why i cant test now


That is an option as well.
I guess your current protection level is EncryptSensitiveWithUserKey. When run with SQL Agent, another user is used so the password is lost.

Personally I prefer configurations (XML or SQL Server), but changing the protection level should work as well.



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
dopydb
dopydb
SSC Veteran
SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)SSC Veteran (207 reputation)

Group: General Forum Members
Points: 207 Visits: 413
i logged in on the same account that the sql agent service runs under, changed security of the package to
"encrypt sensitive with userkey"

sis package now runs fine!
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: 16564 Visits: 13210
dopydb (4/17/2014)
i logged in on the same account that the sql agent service runs under, changed security of the package to
"encrypt sensitive with userkey"

sis package now runs fine!


You should really avoid using EncryptSensitiveWithUserKey. If another developer opens the package and saves it, you'll be having the same issues again.



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