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

FTP security issue Expand / Collapse
Author
Message
Posted Thursday, April 17, 2014 2:29 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 5:23 AM
Points: 147, Visits: 325
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
Post #1562547
Posted Thursday, April 17, 2014 3:02 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:45 AM
Points: 13,538, Visits: 10,412
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1562555
Posted Thursday, April 17, 2014 3:04 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 5:23 AM
Points: 147, Visits: 325
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
Post #1562556
Posted Thursday, April 17, 2014 3:15 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 5:23 AM
Points: 147, Visits: 325
not sure what configurations will do for me Koen?
Post #1562559
Posted Thursday, April 17, 2014 3:18 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:45 AM
Points: 13,538, Visits: 10,412
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 LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1562560
Posted Thursday, April 17, 2014 5:18 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 13, 2014 5:23 AM
Points: 147, Visits: 325
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!
Post #1562608
Posted Thursday, April 17, 2014 5:21 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:45 AM
Points: 13,538, Visits: 10,412
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 LessThanDot.

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

Add to briefcase

Permissions Expand / Collapse